Patch for an Issue #1012

This commit is contained in:
Miroslav Stampar 2014-12-11 00:32:26 +01:00
parent 2bcaae3a0b
commit 6d13b67822

View File

@ -79,4 +79,4 @@ def purge(directory):
try:
shutil.rmtree(directory)
except OSError, ex:
logger.error("problem occurred while removing directory '%s' ('%s')" % (directory, ex))
logger.error("problem occurred while removing directory '%s' ('%s')" % (directory, unicode(ex)))