mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove an unnecessary import from the ansiballz wrapper (#41747)
This commit is contained in:
parent
c68aa804c4
commit
3ea936312a
2 changed files with 3 additions and 6 deletions
3
changelogs/fragments/ansiballz_streamline_imports.yaml
Normal file
3
changelogs/fragments/ansiballz_streamline_imports.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- Removed an unnecessary import from the AnsiballZ wrapper
|
|
@ -143,12 +143,6 @@ if sys.version_info < (3,):
|
||||||
else:
|
else:
|
||||||
unicode = str
|
unicode = str
|
||||||
PY3 = True
|
PY3 = True
|
||||||
try:
|
|
||||||
# Python-2.6+
|
|
||||||
from io import BytesIO as IOStream
|
|
||||||
except ImportError:
|
|
||||||
# Python < 2.6
|
|
||||||
from StringIO import StringIO as IOStream
|
|
||||||
|
|
||||||
ZIPDATA = """%(zipdata)s"""
|
ZIPDATA = """%(zipdata)s"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue