Minor patch (unicode related)

This commit is contained in:
Miroslav Stampar
2014-12-15 13:36:08 +01:00
parent 35c8e016a8
commit e6de92ce88
4 changed files with 7 additions and 6 deletions

View File

@@ -857,7 +857,7 @@ def dataToDumpFile(dumpFile, data):
dumpFile.write(data)
dumpFile.flush()
except IOError, ex:
if "No space left" in str(ex):
if "No space left" in getUnicode(ex):
errMsg = "no space left on output device"
logger.error(errMsg)
else: