diff options
author | 2009-08-06 07:33:52 +0000 | |
---|---|---|
committer | 2009-08-06 07:33:52 +0000 | |
commit | 5f0d4cda0f6d7ce843cd5ab50680c11a44ab54b9 (patch) | |
tree | 9cd2def93d67019cd5a375f1b03f8828f54bbfac /bin | |
parent | MITRE sync (diff) | |
download | security-5f0d4cda0f6d7ce843cd5ab50680c11a44ab54b9.tar.gz security-5f0d4cda0f6d7ce843cd5ab50680c11a44ab54b9.tar.bz2 security-5f0d4cda0f6d7ce843cd5ab50680c11a44ab54b9.zip |
MITRE sync
svn path=/; revision=1525
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/target | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -114,6 +114,12 @@ def cc_arches_to(bugno, username, message, cc_add, auth): if not bug_xml: print "Could not find bug %s" % (bugno) return + + if not bug_xml.find('//group') is None: + print ' ! You cannot modify restricted bugs with this tool.' + print ' ! Exiting.' + sys.exit(1) + whiteboard = bug_xml.find('//status_whiteboard') if not whiteboard is None: whiteboard = whiteboard.text @@ -215,6 +221,11 @@ def main(): if opt == '-u': user = arg + if prestable and not bugno is None: + print ' ! Cannot use -p together with -b. Edit the bug manually.' + print ' ! Exiting.' + sys.exit(1) + print_targets(version, liaisons, prestable, bugno, user) |