option references should not contain newlines

Bug #902125 reported by Vincent Ladeuil on 2011-12-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
High
Vincent Ladeuil

Bug Description

Encountered while debugging udd config migration.

The regexp used to match option references allows '\n' which makes no sense for an option identifier and fails to expand constructs using '{' and '}' like:

logrotate_configuration='''{pi.driver.log.debug} {
    daily
    dateext
    rotate 7
    delaycompress
    compress
    notifempty
    missingok
}
'''

The fix is trivial and I'll submit it shortly.

Related branches

Vincent Ladeuil (vila) on 2011-12-09
Changed in bzr:
milestone: none → 2.5b5
status: Confirmed → In Progress
Vincent Ladeuil (vila) on 2011-12-09
Changed in bzr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers