aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-27 19:13:40 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-27 19:20:11 +0200
commit6ec588a33fd38032277db17da196292de8ea6630 (patch)
tree857b9d01c35a04077777b8e009c29600b945b72e
parent74c7bc0d3613bca9e992bfb738614dbe4c3ce780 (diff)
pq: restrict choices of pq-from to 'DEBIAN' and 'TAG'
-rwxr-xr-xgbp/scripts/pq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py
index fd2ba6ad..c699a2e6 100755
--- a/gbp/scripts/pq.py
+++ b/gbp/scripts/pq.py
@@ -406,7 +406,7 @@ def build_parser(name):
dest="color_scheme")
parser.add_config_file_option(option_name="meta-closes", dest="meta_closes")
parser.add_config_file_option(option_name="meta-closes-bugnum", dest="meta_closes_bugnum")
- parser.add_config_file_option(option_name="pq-from", dest="pq_from")
+ parser.add_config_file_option(option_name="pq-from", dest="pq_from", choices=['DEBIAN', 'TAG'])
parser.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")
return parser