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: 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)