option references should not contain newlines

Bug #902125 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
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)
Changed in bzr:
milestone: none → 2.5b5
status: Confirmed → In Progress
Vincent Ladeuil (vila)
Changed in bzr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.