summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-10-11 23:14:00 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-10-11 23:14:00 +0200
commitff129661979a556aafc39ee30fa5ec46558b6966 (patch)
treecd8b02642023c99abbc8b66cae53462149062260
parent2b868eb98bd91a0858afa8851fbeb078bbe1af5b (diff)
downloadsites-ff129661979a556aafc39ee30fa5ec46558b6966.tar.gz
sites-ff129661979a556aafc39ee30fa5ec46558b6966.tar.bz2
sites-ff129661979a556aafc39ee30fa5ec46558b6966.zip
convert Exception to string for output
-rw-r--r--util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.py b/util.py
index f21469d..63fe447 100644
--- a/util.py
+++ b/util.py
@@ -45,7 +45,7 @@ def create_list(listname, listadmin, passwd=None):
(progress, junk) = p.communicate()
return (p.returncode == 0, progress)
except Exception as e:
- progress = e
+ progress = str(e)
return (False, progress)