From 2eaac43473a4dc24c058888e88ce81589ed4554e Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Tue, 24 Apr 2018 12:43:37 +0200 Subject: [PATCH] replace long with int long conversion here results in same python type, in py3 it is no more supported. --- koji/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koji/auth.py b/koji/auth.py index f780cf63..69b64eeb 100644 --- a/koji/auth.py +++ b/koji/auth.py @@ -85,7 +85,7 @@ class Session(object): args = urlparse.parse_qs(args, strict_parsing=True) hostip = self.get_remote_ip(override=hostip) try: - id = long(args['session-id'][0]) + id = int(args['session-id'][0]) key = args['session-key'][0] except KeyError as field: raise koji.AuthError('%s not specified in session args' % field)