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
|
||||
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…
Reference in a new issue