1
0
Fork 0
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:
James Cammarata 2016-03-02 08:05:43 -05:00
parent 9acb5aa176
commit 2c7a33f71d

View file

@ -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: