[Zope-Checkins] CVS: Zope27/lib/python/TAL - TALInterpreter.py:1.68.26.5

Fred L. Drake, Jr. fdrake@acm.org
Tue, 17 Sep 2002 17:38:46 -0400


Update of /cvs-repository/Zope27/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv22265

Modified Files:
      Tag: Zope-2_7-development-branch
	TALInterpreter.py 
Log Message:
Remove unnecessary local variable.


=== Zope27/lib/python/TAL/TALInterpreter.py 1.68.26.4 => 1.68.26.5 ===
--- Zope27/lib/python/TAL/TALInterpreter.py:1.68.26.4	Tue Sep 17 16:18:21 2002
+++ Zope27/lib/python/TAL/TALInterpreter.py	Tue Sep 17 17:38:46 2002
@@ -741,9 +741,8 @@
 
     def write(self, s):
         #assert self.pos == self.len
-        newpos = self.pos + len(s)
         self.buflist.append(s)
-        self.len = self.pos = newpos
+        self.len = self.pos = self.pos + len(s)
 
 
 def _write_ValueError(s):