summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-04-02 17:56:50 -0400
committerWill Woods <wwoods@redhat.com>2008-04-02 17:56:50 -0400
commit5041bbd8e2eab1c6155fa767238083f53912d0a2 (patch)
treec495c77778f184d8b8c7ec78c1064a0c59089e15
parent74a425085fce5b37e192d16a74a2b7de37100a11 (diff)
downloadpython-bugzilla-5041bbd8e2eab1c6155fa767238083f53912d0a2.tar.gz
python-bugzilla-5041bbd8e2eab1c6155fa767238083f53912d0a2.tar.xz
python-bugzilla-5041bbd8e2eab1c6155fa767238083f53912d0a2.zip
Patch to add --blocked and --dependson from jkeating
-rwxr-xr-xbugzilla6
1 files changed, 5 insertions, 1 deletions
diff --git a/bugzilla b/bugzilla
index caeda15..865095d 100755
--- a/bugzilla
+++ b/bugzilla
@@ -84,6 +84,10 @@ def setup_action_parser(action):
help="OPTIONAL: URL for further bug info")
p.add_option('--cc',
help="OPTIONAL: add emails to initial CC list")
+ p.add_option('--blocked',
+ help="OPTIONAL: block bugs with this new bug")
+ p.add_option('--dependson',
+ help="OPTIONAL: mark this bug as depending on this list of bugs", default=' ')
# TODO: alias, assigned_to, reporter, qa_contact, dependson, blocked
elif action == 'query':
p.add_option('-p','--product',
@@ -233,7 +237,7 @@ if __name__ == '__main__':
data = dict()
required=['product','component','version','short_desc','comment',
'rep_platform','bug_severity','op_sys','bug_file_loc','priority']
- optional=['cc']
+ optional=['cc', 'blocked', 'dependson']
for a in required + optional:
i = getattr(opt,a)
if i: