[Zope3-checkins] CVS: Zope3/src/zope/app/services - auth.py:1.9 service.py:1.7
Jim Fulton
jim@zope.com
Mon, 3 Feb 2003 10:09:20 -0500
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv15846/src/zope/app/services
Modified Files:
auth.py service.py
Log Message:
Refactored the ftp framework to make it much simpler, less general,
and easier to maintain. This included ripping out the vfs framework.
=== Zope3/src/zope/app/services/auth.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/services/auth.py:1.8 Fri Jan 31 06:03:34 2003
+++ Zope3/src/zope/app/services/auth.py Mon Feb 3 10:08:48 2003
@@ -137,6 +137,9 @@
'See IEnumerableMapping'
return self._usersbyid.keys()
+ def __iter__(self):
+ return iter(self.keys())
+
def values(self):
'See IEnumerableMapping'
return self._usersbyid.values()
=== Zope3/src/zope/app/services/service.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/services/service.py:1.6 Wed Jan 8 12:47:56 2003
+++ Zope3/src/zope/app/services/service.py Mon Feb 3 10:08:48 2003
@@ -195,6 +195,9 @@
return self.get(key) is not None
# Enumeration methods. We'll only expose Packages for now:
+ def __iter__(self):
+ return iter(self.keys())
+
def keys(self):
return ['Packages']