Catalogs: Python3 does not have a 'long' integer type.
This commit is contained in:
parent
5d3fcd3ba0
commit
185a10f7c5
@ -17,6 +17,14 @@ CATALOG_VERSION = 4
|
||||
quiet = False
|
||||
verbose = False
|
||||
|
||||
# The Python version.
|
||||
PY_VERSION = sys.version_info[0]
|
||||
|
||||
# Python 2 and 3 compatibility.
|
||||
if PY_VERSION == 3:
|
||||
long = int
|
||||
|
||||
|
||||
def warning(msg):
|
||||
if not quiet:
|
||||
print(msg)
|
||||
|
Loading…
Reference in New Issue
Block a user