mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixing bug in setup related to StringIO fixes
This commit is contained in:
parent
9acb5aa176
commit
2c7a33f71d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue