[Checkins] SVN: z3c.pt/trunk/z3c/pt/translation.py Fixed ordering.

Malthe Borch mborch at gmail.com
Sat Feb 23 09:59:40 EST 2008


Log message for revision 84186:
  Fixed ordering.

Changed:
  U   z3c.pt/trunk/z3c/pt/translation.py

-=-
Modified: z3c.pt/trunk/z3c/pt/translation.py
===================================================================
--- z3c.pt/trunk/z3c/pt/translation.py	2008-02-23 14:57:52 UTC (rev 84185)
+++ z3c.pt/trunk/z3c/pt/translation.py	2008-02-23 14:59:40 UTC (rev 84186)
@@ -105,7 +105,8 @@
                     '{http://xml.zope.org/namespaces/tal}interpolation')
                 t.attrib['replace'] = m.group('expression')
                 t.tail = self.tail[m.end():]
-                self.getparent().append(t)                
+                parent = self.getparent()
+                parent.insert(parent.index(self)+1, t)                
                 self.tail = self.tail[:m.start()+1]
 
     def clauses(self):



More information about the Checkins mailing list