os-xenapi: fix TypeError in agent.py when throws an exception
There are Grammatical errors in the file agent.py in os-xenapi. Change-Id: I9553ae51ed0e5714394cc5117dbe8fa86cc1583b Closes-Bug: #1682716
This commit is contained in:
parent
acb8dd7a9d
commit
30487e4c41
|
@ -257,10 +257,10 @@ def _wait_for_agent(self, request_id, arg_dict, timeout):
|
|||
|
||||
if reboot_detected:
|
||||
raise RebootDetectedError("REBOOT: dom_id %s no longer "
|
||||
"present") % arg_dict["dom_id"]
|
||||
"present" % arg_dict["dom_id"])
|
||||
else:
|
||||
raise TimeoutError("TIMEOUT: No response from agent within"
|
||||
" %s seconds.") % timeout
|
||||
" %s seconds." % timeout)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue