diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-05-29 18:48:39 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-05-29 18:48:39 -0400 |
commit | f0d5545df35f9974fb8c4ae572cfea831e79a358 (patch) | |
tree | 7876991786aac9479faa894c4d0f7dcb2a9cdcea /cobbler/collection_repos.py | |
parent | 201e727a1fc571f3a56763dc044a58504cc89af6 (diff) | |
download | third_party-cobbler-f0d5545df35f9974fb8c4ae572cfea831e79a358.tar.gz third_party-cobbler-f0d5545df35f9974fb8c4ae572cfea831e79a358.tar.xz third_party-cobbler-f0d5545df35f9974fb8c4ae572cfea831e79a358.zip |
Begining of i18n of cobbler. Tests pass, works with English. Need to test
translation function and run manual testing to ensure no functional errors in other
places (such as import).
cobbler_msg (strings file) has been removed.
Diffstat (limited to 'cobbler/collection_repos.py')
-rw-r--r-- | cobbler/collection_repos.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/collection_repos.py b/cobbler/collection_repos.py index 6596a66..922a1ad 100644 --- a/cobbler/collection_repos.py +++ b/cobbler/collection_repos.py @@ -17,7 +17,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. import item_repo as repo import utils import collection -import cexceptions +from cexceptions import * from rhpl.translate import _, N_, textdomain, utf8 @@ -57,5 +57,5 @@ class Repos(collection.Collection): self._run_triggers(self.listing[name], "/var/lib/cobbler/triggers/delete/repo/*") del self.listing[name] return True - raise cexceptions.CobblerException("delete_nothing") + raise CX(_("cannot delete an object that does not exist")) |