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:
naichuans 2017-04-17 03:38:22 +00:00 committed by Naichuan Sun
parent acb8dd7a9d
commit 30487e4c41
1 changed files with 2 additions and 2 deletions

View File

@ -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__":