[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/TranslationService - GettextImportFilter.py:1.3

Jeremy Hylton jeremy@zope.com
Mon, 22 Jul 2002 13:47:03 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/TranslationService
In directory cvs.zope.org:/tmp/cvs-serv25316

Modified Files:
	GettextImportFilter.py 
Log Message:
Fix some more string function vs. method problems.


=== Zope3/lib/python/Zope/App/OFS/Services/TranslationService/GettextImportFilter.py 1.2 => 1.3 ===
                 raise 'ParseError', 'state 0, line %d\n' % (pointer + 1)
         elif state == 1:
             if com.match(line):
-                COM.append(strip(line))
+                COM.append(line.strip())
                 state = 1
                 pointer = pointer + 1
             elif msgid.match(line):
@@ -131,7 +131,7 @@
 
         elif state == 2:
             if com.match(line):
-                COM.append(strip(line))
+                COM.append(line.strip())
                 state = 2
                 pointer = pointer + 1
             elif re_str.match(line):