Merge "Delete undeclared variable in guest-agent API class"
This commit is contained in:
commit
f2967bd915
@ -59,11 +59,8 @@ class API(proxy.RpcProxy):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOG.error(e)
|
LOG.error(e)
|
||||||
raise exception.GuestError(original_message=str(e))
|
raise exception.GuestError(original_message=str(e))
|
||||||
except Timeout as t:
|
except Timeout:
|
||||||
if t is not timeout:
|
raise exception.GuestTimeout()
|
||||||
raise
|
|
||||||
else:
|
|
||||||
raise exception.GuestTimeout()
|
|
||||||
|
|
||||||
def _cast(self, method_name, **kwargs):
|
def _cast(self, method_name, **kwargs):
|
||||||
LOG.debug("Casting %s" % method_name)
|
LOG.debug("Casting %s" % method_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user