[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - loader.py:1.14
Fred L. Drake, Jr.
fred at zope.com
Mon May 10 14:49:20 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv25314/zpkgtools
Modified Files:
loader.py
Log Message:
make the loader.FileProxy handler iteration so I can be used by
locationmap.load()
=== Packages/zpkgtools/zpkgtools/loader.py 1.13 => 1.14 ===
--- Packages/zpkgtools/zpkgtools/loader.py:1.13 Fri May 7 15:33:25 2004
+++ Packages/zpkgtools/zpkgtools/loader.py Mon May 10 14:48:49 2004
@@ -313,6 +313,9 @@
def __getattr__(self, name):
return getattr(self._file, name)
+ def __iter__(self):
+ return iter(self._file)
+
def close(self):
if not self._file.closed:
self._file.close()
More information about the Zope-CVS
mailing list