summaryrefslogtreecommitdiff
path: root/tools/commitfest
diff options
context:
space:
mode:
authorMagnus Hagander2017-01-07 13:19:01 +0000
committerMagnus Hagander2017-01-07 13:19:01 +0000
commitae182d3466028a7570cce7655c73f0e0e2c4b468 (patch)
treede824a20b4711ac8fa0d68b9c40dde28ccc392d6 /tools/commitfest
parentead6854f1d1a28fbc01c00dac2d7b4142081790e (diff)
Fully qualify parameters to HTTPConnection/HTTPSConnection
They go in different orders in the two, so fully specify them to make it super clear.
Diffstat (limited to 'tools/commitfest')
-rwxr-xr-xtools/commitfest/check_patches_in_archives.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/commitfest/check_patches_in_archives.py b/tools/commitfest/check_patches_in_archives.py
index edea52c..b8b2953 100755
--- a/tools/commitfest/check_patches_in_archives.py
+++ b/tools/commitfest/check_patches_in_archives.py
@@ -49,15 +49,15 @@ if __name__ == "__main__":
logging.debug("Checking attachment %s" % a.attachmentid)
if settings.ARCHIVES_PORT != 443:
- h = httplib.HTTPConnection(settings.ARCHIVES_SERVER,
- settings.ARCHIVES_PORT,
- True,
- settings.ARCHIVES_TIMEOUT)
+ h = httplib.HTTPConnection(host=settings.ARCHIVES_SERVER,
+ port=settings.ARCHIVES_PORT,
+ strict=True,
+ timeout=settings.ARCHIVES_TIMEOUT)
else:
- h = httplib.HTTPSConnection(settings.ARCHIVES_SERVER,
- settings.ARCHIVES_PORT,
- True,
- settings.ARCHIVES_TIMEOUT)
+ h = httplib.HTTPSConnection(host=settings.ARCHIVES_SERVER,
+ port=settings.ARCHIVES_PORT,
+ strict=True,
+ timeout=settings.ARCHIVES_TIMEOUT)
h.request('GET', url, headers={
'Host': settings.ARCHIVES_HOST,
})