Fixing bug in setup related to StringIO fixes

pull/14757/head
James Cammarata 9 years ago
parent 9acb5aa176
commit 2c7a33f71d

@ -257,7 +257,7 @@ class Facts(object):
# load raw ini
cp = ConfigParser.ConfigParser()
try:
cp.readfp(StringIO.StringIO(out))
cp.readfp(StringIO(out))
except ConfigParser.Error:
fact = "error loading fact - please check content"
else:

Loading…
Cancel
Save