[Zope3-checkins] CVS: Zope3/src/zope/app/component - metaconfigure.py:1.4

R. David Murray bitz@bitdance.com
Sat, 25 Jan 2003 00:14:14 -0500


Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv15651/zope/app/component

Modified Files:
	metaconfigure.py 
Log Message:
Use keyword instead of positional arg (and Boolean instead of 1)
to make it more obvious to someone browsing the code what is going
on when the interface 'names' method is called.


=== Zope3/src/zope/app/component/metaconfigure.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/component/metaconfigure.py:1.3	Tue Dec 31 15:13:02 2002
+++ Zope3/src/zope/app/component/metaconfigure.py	Sat Jan 25 00:13:41 2003
@@ -159,7 +159,7 @@
     for name in (allowed_attributes or '').split():
         require[name] = permission
     if allowed_interface:
-        for name in _context.resolve(allowed_interface).names(1):
+        for name in _context.resolve(allowed_interface).names(all=True):
             require[name] = permission
 
     checker = Checker(require.get)