Title: [commits] (bkirsch) [11315] invalid parameter name found.
Revision
11315
Author
bkirsch
Date
2006-08-02 16:58:40 -0700 (Wed, 02 Aug 2006)

Log Message

invalid parameter name found. Should have been args[0] instead of arg[0]

Modified Paths

Diff

Modified: trunk/chandler/projects/EggTranslations-Plugin/egg_translations.py (11314 => 11315)

--- trunk/chandler/projects/EggTranslations-Plugin/egg_translations.py	2006-08-02 23:43:02 UTC (rev 11314)
+++ trunk/chandler/projects/EggTranslations-Plugin/egg_translations.py	2006-08-02 23:58:40 UTC (rev 11315)
@@ -51,11 +51,11 @@
 
         if tmsg is missing:
             if self._fallback:
-                return self._fallback.ugettext(message, arg[0])
+                return self._fallback.ugettext(message, args[0])
            
             # return the default value not the message value
             # as GNUTranslations does.
-            return arg[0]
+            return args[0]
 
         return tmsg
 




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to