mirror of
https://github.com/holub/mame
synced 2025-06-17 09:49:31 +03:00
work around python version differences (nw)
This commit is contained in:
parent
8cd158fcca
commit
1eb3ffe15c
@ -11,6 +11,11 @@ import xml.sax.saxutils
|
||||
import zlib
|
||||
|
||||
|
||||
# workaround for version incompatibility
|
||||
if sys.version_info > (3, ):
|
||||
long = int
|
||||
|
||||
|
||||
class ErrorHandler(object):
|
||||
def __init__(self, **kwargs):
|
||||
super(ErrorHandler, self).__init__(**kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user