[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/i18n/__init__.py Empty lines removed

Dmitry Vasiliev dima at hlabs.spb.ru
Tue Sep 7 08:46:01 EDT 2004


Log message for revision 27461:
  Empty lines removed
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/i18n/__init__.py


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/i18n/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/i18n/__init__.py	2004-09-07 01:52:16 UTC (rev 27460)
+++ Zope3/branches/ZopeX3-3.0/src/zope/i18n/__init__.py	2004-09-07 12:46:01 UTC (rev 27461)
@@ -33,7 +33,6 @@
 def _translate(msgid, domain=None, mapping=None, context=None,
                target_language=None, default=None):
 
-
     if isinstance(msgid, MessageID):
         domain = msgid.domain
         default = msgid.default
@@ -56,9 +55,6 @@
         args = args[1:]
     return _translate(*args, **kw)
 
-    
-
-
 def interpolate(text, mapping):
     """Insert the data passed from mapping into the text"""
 
@@ -80,6 +76,3 @@
         text = text.replace(string, unicode(mapping.get(var)))
 
     return text
-
-
-              



More information about the Zope3-Checkins mailing list