diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-08-22 15:55:07 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-08-22 15:55:07 +0200 |
commit | 98df8358b19b4637a52366af80fc7d10719dc915 (patch) | |
tree | 7c86a2e55ac049be4f0c64e8cae0e952a1954068 /gbp/scripts/config.py | |
parent | c57c9fcfbaec19d64fa8b5bd06708326b284ec03 (diff) |
config: don't skip empty values
when printing all options, just print an empty value. This allows us to
get a complete option list.
Diffstat (limited to 'gbp/scripts/config.py')
-rwxr-xr-x | gbp/scripts/config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp/scripts/config.py b/gbp/scripts/config.py index 44a5641a..f67142fb 100755 --- a/gbp/scripts/config.py +++ b/gbp/scripts/config.py @@ -93,8 +93,7 @@ def print_cmd_all_values(cmd, printer): for option in parser.valid_options: value = parser.get_config_file_value(option) - if value != '': - printer("%s.%s=%s" % (cmd, option, value)) + printer("%s.%s=%s" % (cmd, option, value)) return 0 |