[Zope3-checkins] CVS: Zope3/src/zope/documenttemplate - pdocumenttemplate.py:1.3

Jeremy Hylton cvs-admin at zope.org
Mon Nov 3 16:38:25 EST 2003


Update of /cvs-repository/Zope3/src/zope/documenttemplate
In directory cvs.zope.org:/tmp/cvs-serv3612/documenttemplate

Modified Files:
	pdocumenttemplate.py 
Log Message:
Remove unused local variables.


=== Zope3/src/zope/documenttemplate/pdocumenttemplate.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/pdocumenttemplate.py:1.2	Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/pdocumenttemplate.py	Mon Nov  3 16:37:54 2003
@@ -151,7 +151,7 @@
 
     def has_key(self,key):
         try:
-            v=self.dicts[key]
+            self.dicts[key]
         except KeyError:
             return 0
         return 1
@@ -175,7 +175,6 @@
 
 def render_blocks(blocks, md):
     rendered = []
-    append = rendered.append
     for section in blocks:
         if type(section) is TupleType:
             l = len(section)




More information about the Zope3-Checkins mailing list