If an empty option is followed by another option, it is parsed as its value.
Bug #1415642 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uci-config |
Fix Committed
|
High
|
Leo Arias |
Bug Description
With a config file like this:
a =
b = b
The config will be parsed as:
a = b = b
It will skip the second option, and consider it as the value of the first one.
Related branches
lp:~canonical-platform-qa/uci-config/fix1415642-empty_option
- Vincent Ladeuil (community): Approve
- Christopher Lee (community): Needs Information
-
Diff: 45 lines (+9/-3)2 files modifieduciconfig/parsers.py (+2/-2)
uciconfig/tests/test_parsers.py (+7/-1)
Changed in uci-config: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Leo Arias (elopio) |
Changed in uci-config: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.