X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2Fdolcon%2F__init__.py;h=bb4456776c67e52080d02bdf9f584360588a4b86;hb=f04b2c3c5a824e03d196f86f9e4b00c42badd4a5;hp=86ce62456344a253319928b078310d2d4b232635;hpb=194d48ea4710829c7c890c43381857fe07f77050;p=doldaconnect.git 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