From f17d2b2c38ef6df29bb46a2bd9e434e79506c574 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 13 Feb 2013 16:49:01 -0500 Subject: Get all tests passing (or suppressed) on Py3k. --- src/zope/security/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zope/security/adapter.py') diff --git a/src/zope/security/adapter.py b/src/zope/security/adapter.py index eaefff7..c830cf4 100644 --- a/src/zope/security/adapter.py +++ b/src/zope/security/adapter.py @@ -73,7 +73,7 @@ class LocatingTrustedAdapterFactory(object): def __call__(self, *args): for arg in args: if removeSecurityProxy(arg) is not arg: - args = map(removeSecurityProxy, args) + args = [removeSecurityProxy(x) for x in args] adapter = self.factory(*args) adapter = self._customizeProtected(adapter, args[0]) return ProxyFactory(adapter) -- cgit v1.2.1