forked from loafle/openapi-generator-original
fix long issue in python3
This commit is contained in:
@@ -46,6 +46,14 @@ except ImportError:
|
||||
# for python2
|
||||
from urllib import quote
|
||||
|
||||
# special handling of `long` (python2 only)
|
||||
try:
|
||||
# Python 2
|
||||
long
|
||||
except NameError:
|
||||
# Python 3
|
||||
long = int
|
||||
|
||||
from .configuration import Configuration
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user