From: fredrik Date: Wed, 22 Nov 2006 18:05:49 +0000 (+0000) Subject: Set tuple in exception. X-Git-Tag: 0.3~158 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=f04b2c3c5a824e03d196f86f9e4b00c42badd4a5 Set tuple in exception. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@765 959494ce-11ee-0310-bf91-de5d638817bd --- 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