replace long with int
long conversion here results in same python type, in py3 it is no more supported.
This commit is contained in:
parent
1204942a4e
commit
2eaac43473
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue