summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Hajdan, Jr <phajdan.jr@gentoo.org>2014-06-14 11:41:35 +0200
committerPawel Hajdan, Jr <phajdan.jr@gentoo.org>2014-06-14 11:41:35 +0200
commit85a5fa0e24d89b5b8a41cc63f4c59e2e46faa4a6 (patch)
treebeaf908538489c16c2b3fe00d703be526d79e86f /maintainer-timeout.py
parentList packages that have xfce in metadata.xml for skipping. List girara and za... (diff)
downloadarch-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 'maintainer-timeout.py')
-rwxr-xr-xmaintainer-timeout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainer-timeout.py b/maintainer-timeout.py
index ba8c322..76c7e59 100755
--- a/maintainer-timeout.py
+++ b/maintainer-timeout.py
@@ -29,7 +29,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)
- user = login(bugzilla)
+ user, login_data = login(bugzilla)
bugs = bugzilla.Bug.search({'reporter': user, 'summary': ['stabilize', 'stabilization', 'stable'], 'resolution': ''})['bugs']
comments = bugzilla.Bug.comments({'ids': [bug['id'] for bug in bugs]})