diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-10-11 23:14:00 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-10-11 23:14:00 +0200 |
commit | ff129661979a556aafc39ee30fa5ec46558b6966 (patch) | |
tree | cd8b02642023c99abbc8b66cae53462149062260 | |
parent | 2b868eb98bd91a0858afa8851fbeb078bbe1af5b (diff) | |
download | sites-ff129661979a556aafc39ee30fa5ec46558b6966.tar.gz sites-ff129661979a556aafc39ee30fa5ec46558b6966.tar.bz2 sites-ff129661979a556aafc39ee30fa5ec46558b6966.zip |
convert Exception to string for output
-rw-r--r-- | util.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |