[Bug 1504893] [NEW] Config parser fails with inline comments
Alkis Georgopoulos
1504893 at bugs.launchpad.net
Sun Oct 11 06:22:56 UTC 2015
Public bug reported:
$ tail -1 /etc/update-manager/release-upgrades
Prompt=never # Original value: Prompt=lts
I'm using inline comments like the one above to mark the original values in files that I change in /etc.
But in this case it's considered an invalid value, probably like:
Prompt="never # Original value: Prompt=lts"
>From a programmer's side, maybe this can be explained with how ConfigParser inline comment parsing works by default in python etc.
But from a user's side, I think this is an unexpected problem that should be resolved... :)
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1504893
Title:
Config parser fails with inline comments
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
$ tail -1 /etc/update-manager/release-upgrades
Prompt=never # Original value: Prompt=lts
I'm using inline comments like the one above to mark the original values in files that I change in /etc.
But in this case it's considered an invalid value, probably like:
Prompt="never # Original value: Prompt=lts"
From a programmer's side, maybe this can be explained with how ConfigParser inline comment parsing works by default in python etc.
But from a user's side, I think this is an unexpected problem that should be resolved... :)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1504893/+subscriptions
More information about the foundations-bugs
mailing list