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
cp = ConfigParser.ConfigParser()
try:
cp.readfp(StringIO.StringIO(out))
cp.readfp(StringIO(out))
except ConfigParser.Error:
fact = "error loading fact - please check content"
else: