diff options
author | Pawel Hajdan, Jr <phajdan.jr@gentoo.org> | 2014-06-14 11:41:35 +0200 |
---|---|---|
committer | Pawel Hajdan, Jr <phajdan.jr@gentoo.org> | 2014-06-14 11:41:35 +0200 |
commit | 85a5fa0e24d89b5b8a41cc63f4c59e2e46faa4a6 (patch) | |
tree | beaf908538489c16c2b3fe00d703be526d79e86f /batch-stabilize.py | |
parent | List packages that have xfce in metadata.xml for skipping. List girara and za... (diff) | |
download | arch-tools-85a5fa0e24d89b5b8a41cc63f4c59e2e46faa4a6.tar.gz arch-tools-85a5fa0e24d89b5b8a41cc63f4c59e2e46faa4a6.tar.bz2 arch-tools-85a5fa0e24d89b5b8a41cc63f4c59e2e46faa4a6.zip |
Fix issue in batch-stabilize leading to errors from Bugzilla
xmlrpclib.Fault: <Fault 410: 'You must log in before using this part of
Bugzilla.'>
Diffstat (limited to 'batch-stabilize.py')
-rwxr-xr-x | batch-stabilize.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/batch-stabilize.py b/batch-stabilize.py index 2093da5..053cd19 100755 --- a/batch-stabilize.py +++ b/batch-stabilize.py @@ -68,7 +68,7 @@ if __name__ == "__main__": url = 'https://bugs.gentoo.org/xmlrpc.cgi' print 'You will be prompted for your Gentoo Bugzilla username and password (%s).' % url bugzilla = BugzillaProxy(url) - login(bugzilla) + user, login_data = login(bugzilla) with open(options.input_filename, "r") as input_file: stabilization_dict = {} @@ -188,6 +188,7 @@ if __name__ == "__main__": # We don't close bugs which still have other arches for obvious reasons, # and security bugs because stabilization is not the last step for them. params = {} + params['token'] = login_data['token'] params['ids'] = [bug_id] params['cc'] = {} params['cc']['remove'] = ['%s@gentoo.org' % options.arch] |