From ff129661979a556aafc39ee30fa5ec46558b6966 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 11 Oct 2011 23:14:00 +0200 Subject: convert Exception to string for output --- util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22