diff options
author | Will Woods <wwoods@redhat.com> | 2008-04-02 17:56:50 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2008-04-02 17:56:50 -0400 |
commit | 5041bbd8e2eab1c6155fa767238083f53912d0a2 (patch) | |
tree | c495c77778f184d8b8c7ec78c1064a0c59089e15 | |
parent | 74a425085fce5b37e192d16a74a2b7de37100a11 (diff) | |
download | python-bugzilla-5041bbd8e2eab1c6155fa767238083f53912d0a2.tar.gz python-bugzilla-5041bbd8e2eab1c6155fa767238083f53912d0a2.tar.xz python-bugzilla-5041bbd8e2eab1c6155fa767238083f53912d0a2.zip |
Patch to add --blocked and --dependson from jkeating
-rwxr-xr-x | bugzilla | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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: |