Better approach for #1320

This commit is contained in:
Miroslav Stampar
2015-07-30 23:29:31 +02:00
parent bcb25823e6
commit e623ee66ad
8 changed files with 11 additions and 11 deletions

View File

@@ -1521,7 +1521,7 @@ def _createTemporaryDirectory():
os.makedirs(tempfile.gettempdir())
except IOError, ex:
errMsg = "there has been a problem while accessing "
errMsg += "system's temporary directory location(s) ('%s'). Please " % getUnicode(ex)
errMsg += "system's temporary directory location(s) ('%s'). Please " % ex.message
errMsg += "make sure that there is enough disk space left. If problem persists, "
errMsg += "try to set environment variable 'TEMP' to a location "
errMsg += "writeable by the current user"