diff options
author | James Bowes <jbowes@redhat.com> | 2007-09-20 18:45:13 -0400 |
---|---|---|
committer | James Bowes <jbowes@redhat.com> | 2007-09-20 18:45:13 -0400 |
commit | fcf925c36f22d2eee1de1f7815915cf5ba17fbb3 (patch) | |
tree | be7c8b77addd65a67b9b7035f9c7460e4ab0b291 | |
parent | 3d943e4a9f128cefa56412d593c1f13ff8c15b37 (diff) | |
download | third_party-func-fcf925c36f22d2eee1de1f7815915cf5ba17fbb3.tar.gz third_party-func-fcf925c36f22d2eee1de1f7815915cf5ba17fbb3.tar.xz third_party-func-fcf925c36f22d2eee1de1f7815915cf5ba17fbb3.zip |
Get rid of extra / in module loading error
-rw-r--r-- | po/messages.pot | 4 | ||||
-rwxr-xr-x | server/module_loader.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/po/messages.pot b/po/messages.pot index 6515620..d5c1089 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: func 0.11-2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-20 18:36-0400\n" +"POT-Creation-Date: 2007-09-20 18:42-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -18,5 +18,5 @@ msgstr "" #: server/module_loader.py:50 #, python-format -msgid "%(module_path)s/%(modname)s module not a proper module" +msgid "%(module_path)s%(modname)s module not a proper module" msgstr "" diff --git a/server/module_loader.py b/server/module_loader.py index a18da35..f189623 100755 --- a/server/module_loader.py +++ b/server/module_loader.py @@ -47,7 +47,7 @@ def load_modules(blacklist=None): try: blip = __import__("modules.%s" % ( modname), globals(), locals(), [modname]) if not hasattr(blip, "register_rpc"): - errmsg = _("%(module_path)s/%(modname)s module not a proper module") + errmsg = _("%(module_path)s%(modname)s module not a proper module") print errmsg % {'module_path': module_file_path, 'modname':modname} continue mods[modname] = blip |