mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Remove an unnecessary import from the ansiballz wrapper (#41747)
This commit is contained in:
committed by
Jordan Borean
parent
c68aa804c4
commit
3ea936312a
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:
|
||||
unicode = str
|
||||
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"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user