summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-03-30 13:38:10 -0700
committerChris Behrens <cbehrens@codestud.com>2011-03-30 13:38:10 -0700
commitcf89dea62e777bb3052f3a178e38d0b665c1983d (patch)
tree1ea451275f5a0931897a17bd987b3f6b086ad470
parent1e9cc02d3cb63c9431921064aac23327198d4b8c (diff)
downloadnova-cf89dea62e777bb3052f3a178e38d0b665c1983d.tar.gz
nova-cf89dea62e777bb3052f3a178e38d0b665c1983d.tar.xz
nova-cf89dea62e777bb3052f3a178e38d0b665c1983d.zip
localize NotImplementedError()
-rwxr-xr-xplugins/xenserver/xenapi/etc/xapi.d/plugins/agent4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent b/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
index 83ac341a7..5c5a6d645 100755
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
@@ -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: