fix syntax error
This commit is contained in:
@@ -147,6 +147,6 @@ class CloudPipe(object):
|
|||||||
key_path = os.path.join(key_dir, '%s.pem' % key_name)
|
key_path = os.path.join(key_dir, '%s.pem' % key_name)
|
||||||
with open(key_path, 'w') as f:
|
with open(key_path, 'w') as f:
|
||||||
f.write(private_key)
|
f.write(private_key)
|
||||||
except exception.Duplicate, os.error, IOError:
|
except (exception.Duplicate, os.error, IOError):
|
||||||
pass
|
pass
|
||||||
return key_name
|
return key_name
|
||||||
|
|||||||
Reference in New Issue
Block a user