Project

General

Profile

Actions

Bug #5243

closed

Error in parsing of bundle names causing ncf to use technique names like "ntp {"

Added by Jonathan CLARKE over 10 years ago. Updated over 2 years ago.

Status:
Released
Priority:
4
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

This has an impact on the ncf Python lib, the ncf-api and therefore ncf-builder.

The culprit is a badly formed regex in ncf.py:

match = re.match("[^#]*bundle\s+agent\s+([^(]+)\(?([^)]*)\)?.*$", line)

This matches " }" as part of the name.


Subtasks 1 (0 open1 closed)

Bug #5245: simplify regexp to parse bundle nameReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF