[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/xmlrpc - metaconfigure.py:1.4
R. David Murray
bitz@bitdance.com
Sat, 25 Jan 2003 00:14:17 -0500
Update of /cvs-repository/Zope3/src/zope/app/publisher/xmlrpc
In directory cvs.zope.org:/tmp/cvs-serv15651/zope/app/publisher/xmlrpc
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/publisher/xmlrpc/metaconfigure.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/publisher/xmlrpc/metaconfigure.py:1.3 Mon Dec 30 21:52:05 2002
+++ Zope3/src/zope/app/publisher/xmlrpc/metaconfigure.py Sat Jan 25 00:13:43 2003
@@ -144,7 +144,7 @@
for name in (allowed_methods or '').split():
require[name] = permission
if allowed_interface:
- for name in allowed_interface.names(1):
+ for name in allowed_interface.names(all=True):
require[name] = permission
checker = Checker(require.get)