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:
# Either the methods don't exist in the agent, or they
# have been disabled.
raise NotImplementedError("NOT IMPLEMENTED: Agent does not support"
" file injection.")
raise NotImplementedError(_("NOT IMPLEMENTED: Agent does not"
" support file injection."))
arg_dict["path"] = "data/host/%s" % request_id
xenstore.write_record(self, arg_dict)
try: