localize NotImplementedError()
This commit is contained in:
parent
1e9cc02d3c
commit
cf89dea62e
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user