mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add a alias for 'long' since python3 do not have it (#15952)
This commit is contained in:
parent
72b29d122e
commit
f9f6f24acd
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ else:
|
|||
def iteritems(d):
|
||||
return d.iteritems()
|
||||
|
||||
try:
|
||||
# Python 2
|
||||
long
|
||||
except NameError:
|
||||
# Python 3
|
||||
long = int
|
||||
|
||||
try:
|
||||
import selinux
|
||||
|
|
Loading…
Reference in a new issue