[rubick] cli exception

This commit is contained in:
Ryabin Sergey 2013-11-11 10:56:48 +04:00 committed by Peter Lomakin
parent f5c07c111a
commit f63ccee112
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def rubick_cluster_add(name, description, host, key):
try:
with open(key) as f:
keyData = f.read()
except Exception:
except IOError:
return 1
request_payload = {