mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Add a alias for 'long' since python3 do not have it (#15952)
This commit is contained in:
committed by
Brian Coca
parent
72b29d122e
commit
f9f6f24acd
@@ -67,6 +67,12 @@ else:
|
||||
def iteritems(d):
|
||||
return d.iteritems()
|
||||
|
||||
try:
|
||||
# Python 2
|
||||
long
|
||||
except NameError:
|
||||
# Python 3
|
||||
long = int
|
||||
|
||||
try:
|
||||
import selinux
|
||||
|
||||
Reference in New Issue
Block a user