localize NotImplementedError()

This commit is contained in:
Chris Behrens 2011-03-30 13:38:10 -07:00
parent 1e9cc02d3c
commit cf89dea62e

View File

@ -136,8 +136,8 @@ def inject_file(self, arg_dict):
else: else:
# Either the methods don't exist in the agent, or they # Either the methods don't exist in the agent, or they
# have been disabled. # have been disabled.
raise NotImplementedError("NOT IMPLEMENTED: Agent does not support" raise NotImplementedError(_("NOT IMPLEMENTED: Agent does not"
" file injection.") " support file injection."))
arg_dict["path"] = "data/host/%s" % request_id arg_dict["path"] = "data/host/%s" % request_id
xenstore.write_record(self, arg_dict) xenstore.write_record(self, arg_dict)
try: try: