#904 replace long with int
Merged 5 years ago by mikem. Opened 6 years ago by tkopecek.
tkopecek/koji long-int  into  master

file modified
+1 -1
@@ -85,7 +85,7 @@ 

              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)

long conversion here results in same python type, in py3 it is no more
supported.

Commit a3e281f fixes this pull-request

Pull-Request has been merged by mikem

5 years ago