From f04b2c3c5a824e03d196f86f9e4b00c42badd4a5 Mon Sep 17 00:00:00 2001 From: fredrik Date: Wed, 22 Nov 2006 18:05:49 +0000 Subject: [PATCH] Set tuple in exception. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@765 959494ce-11ee-0310-bf91-de5d638817bd --- lib/python/dolcon/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/dolcon/__init__.py b/lib/python/dolcon/__init__.py index 86ce624..bb44567 100644 --- a/lib/python/dolcon/__init__.py +++ b/lib/python/dolcon/__init__.py @@ -97,5 +97,5 @@ def ecmds(*args): """ resp = ecmd(*args) if resp.getcode() >= 500 and resp.getcode() < 600: - raise ValueError, resp.extract()[0] + raise ValueError, tuple(resp.extract()[0]) return resp -- 2.11.0