From 6d13b6782227ac11886c765f07c85d2f8a29bac2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 11 Dec 2014 00:32:26 +0100 Subject: [PATCH] Patch for an Issue #1012 --- lib/utils/purge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/purge.py b/lib/utils/purge.py index e1f891cff..97b1aaa75 100644 --- a/lib/utils/purge.py +++ b/lib/utils/purge.py @@ -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)))