mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Fixing bug in setup related to StringIO fixes
This commit is contained in:
@@ -257,7 +257,7 @@ class Facts(object):
|
|||||||
# load raw ini
|
# load raw ini
|
||||||
cp = ConfigParser.ConfigParser()
|
cp = ConfigParser.ConfigParser()
|
||||||
try:
|
try:
|
||||||
cp.readfp(StringIO.StringIO(out))
|
cp.readfp(StringIO(out))
|
||||||
except ConfigParser.Error:
|
except ConfigParser.Error:
|
||||||
fact = "error loading fact - please check content"
|
fact = "error loading fact - please check content"
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user