Move several steps closer to python3 compatibility
Signed-off-by: Igor Ch <usrenmae@gmail.com>
This commit is contained in:
parent
44f5a3ea46
commit
f1fc1d7a16
7 changed files with 10 additions and 8 deletions
|
|
@ -25,7 +25,7 @@ class Command(DocoptCommand):
|
|||
def dispatch(self, *args, **kwargs):
|
||||
try:
|
||||
super(Command, self).dispatch(*args, **kwargs)
|
||||
except SSLError, e:
|
||||
except SSLError as e:
|
||||
raise errors.UserError('SSL error: %s' % e)
|
||||
except ConnectionError:
|
||||
if call_silently(['which', 'docker']) != 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue