Merge "Delete undeclared variable in guest-agent API class"

This commit is contained in:
Jenkins 2014-06-25 17:29:34 +00:00 committed by Gerrit Code Review
commit f2967bd915

View File

@ -59,11 +59,8 @@ class API(proxy.RpcProxy):
except Exception as e:
LOG.error(e)
raise exception.GuestError(original_message=str(e))
except Timeout as t:
if t is not timeout:
raise
else:
raise exception.GuestTimeout()
except Timeout:
raise exception.GuestTimeout()
def _cast(self, method_name, **kwargs):
LOG.debug("Casting %s" % method_name)