summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-04-01 10:03:35 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-04-03 11:31:43 +0300
commita064d2a8fc6f5437c6d2660167c3f779fbd21897 (patch)
tree4cf51052f03770ebefd0ea28113fa1c49796471f /gbp/config.py
parent5d4f9cef82e420954cf7e6e1c957c6eda45ebc74 (diff)
downloadgit-buildpackage-a064d2a8fc6f5437c6d2660167c3f779fbd21897.tar.gz
git-buildpackage-a064d2a8fc6f5437c6d2660167c3f779fbd21897.tar.bz2
git-buildpackage-a064d2a8fc6f5437c6d2660167c3f779fbd21897.zip
Test option parser fallbacks more thoroughly
revealing another bug where we overwrote parsed values with defaults Closes: #733759 (cherry picked from commit 14f6ded0143a3e82d04cad2614d705ca3a5b5c7e)
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 902b64cd..00a67ac8 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -391,7 +391,6 @@ class GbpOptionParser(OptionParser):
# Update with command specific settings
if parser.has_section(cmd):
- self.config.update(dict(parser.items(cmd, 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()))