[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - fileresource.py:1.8

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


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

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


=== Zope3/src/zope/app/publisher/browser/fileresource.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/publisher/browser/fileresource.py:1.7	Mon Sep 22 17:05:13 2003
+++ Zope3/src/zope/app/publisher/browser/fileresource.py	Mon Nov  3 16:37:58 2003
@@ -48,9 +48,8 @@
 
     # for unit tests
     def _testData(self):
-        file = self.chooseContext()
-        f=open(self.context.path,'rb')
-        data=f.read()
+        f = open(self.context.path, 'rb')
+        data = f.read()
         f.close()
         return data
 




More information about the Zope3-Checkins mailing list