diff options
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py index e465cede..d4c0e5ad 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -330,7 +330,9 @@ class GbpOptionParser(OptionParser): for prefix in ['gbp', 'git']: oldcmd = '%s-%s' % (prefix, self.command) if parser.has_section(oldcmd): - self.config.update(dict(parser.items(oldcmd, raw=True))) + # Don't use items() until we got rid of the compat sections + # since this pulls in the defaults again + self.config.update(dict(parser._sections[cmd].items())) cmd = self.command # Update with command specific settings |