]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Don't require importing paramiko for error.
authorAvishay Traeger <avishay@il.ibm.com>
Wed, 23 Jan 2013 11:55:51 +0000 (13:55 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Wed, 6 Feb 2013 18:26:56 +0000 (20:26 +0200)
commitcb417e2be13d061d123b448eaed7c1e4c18d6748
tree6bd2f84d4a94ac982fa132723d5307c125432937
parentda5bfac8c92081c4146ace0fc93cb80f17c41ad6
Don't require importing paramiko for error.

The _run_ssh function raises a paramiko exception, which requires
functions that use it to import the paramiko class. This should be
hidden away, and so I created a new exception in its place. Nobody
but the Storwize/SVC driver use it anyway, and I am updating that
driver in a separate patch.

Change-Id: Ibf353edc664765897a5fa7a08d126de4b8992863
cinder/volume/drivers/san/san.py