From f80ebe5341826d131fb155f24d74b79e0de49db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 5 Jan 2018 18:38:54 +0100 Subject: [PATCH] Make sure Bugzilla is queried without being logged in After a few months of not running the integration tests I ended up with a strange error message: Apparently, bugzilla.Bugzilla(...) is logging me in with some credentials from god-knows-where. It worked last time, but in the meantime, those credentials have expired. I found a discussion about this at [1], and went with a solution that disables this automatic logging in, keeping the Bugzilla query anonymous. That fixed my issue. [1]: https://lists.fedorahosted.org/archives/list/python-bugzilla@lists.fedorahosted.org/message/A2ZUGBFWATW676YRPJMTL2F2WYWT5RMB/ --- taskotron_python_versions/py3_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskotron_python_versions/py3_support.py b/taskotron_python_versions/py3_support.py index 665aee0..73bba2a 100644 --- a/taskotron_python_versions/py3_support.py +++ b/taskotron_python_versions/py3_support.py @@ -61,7 +61,7 @@ def get_py3_bugzillas_for(srpm_name): Return: (list) List of Bugzilla URLs """ - bzapi = bugzilla.Bugzilla(BUGZILLA_URL) + bzapi = bugzilla.Bugzilla(BUGZILLA_URL, cookiefile=None, tokenfile=None) query = bzapi.build_query( product="Fedora", component=srpm_name)