diff options
author | Trevor McCasland <TM2086@att.com> | 2016-12-05 08:04:28 -0600 |
---|---|---|
committer | amrith <amrith.kumar@gmail.com> | 2017-01-29 03:03:01 +0000 |
commit | c93ef6d895dd0eee69f6dd3bc3ecbcefa8c9591e (patch) | |
tree | ec81371e73ed9073f6680bda961e450af9cd5a73 | |
parent | 4f9c538f682c0f7234110ec5d1abe933e4ab5bde (diff) | |
download | trove-c93ef6d895dd0eee69f6dd3bc3ecbcefa8c9591e.tar.gz |
Add i18n translation to extensions 3/3
This is patch 3 of 3 that aims to add i18n translation to the
extenstions directory and some other files.
Custom hacking rules will come later to enforce this style.
Change-Id: I94a341ba1fb4178e0c358c37ea31623d48938ec6
Depends-On: I6fb2bdcc4b83457e08b24599fb4a297ef6ec6c14
-rw-r--r-- | trove/extensions/mgmt/instances/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/extensions/mgmt/instances/models.py b/trove/extensions/mgmt/instances/models.py index 3c0a5bbc..cd656f44 100644 --- a/trove/extensions/mgmt/instances/models.py +++ b/trove/extensions/mgmt/instances/models.py @@ -151,7 +151,7 @@ class MgmtInstances(imodels.Instances): return SimpleMgmtInstance(context, db, server, status) if context is None: - raise TypeError("Argument context not defined.") + raise TypeError(_("Argument context not defined.")) find_server = imodels.create_server_list_matcher(servers) instances = imodels.Instances._load_servers_status(load_instance, context, |