Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
remove many calls to removeAllProxies(), and replace others with
Browse files Browse the repository at this point in the history
removeSecurityProxy()
  • Loading branch information
freddrake committed Aug 25, 2004
1 parent 754f1bc commit bd90f8a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
$Id$
"""
from zope.proxy import removeAllProxies

from zope.interface.declarations import providedBy

def queryType(object, interface):
Expand Down Expand Up @@ -79,8 +77,6 @@ def queryType(object, interface):
'I4'
"""
object = removeAllProxies(object)

object_iro = providedBy(object).__iro__
for iface in object_iro:
if interface.providedBy(iface):
Expand Down

0 comments on commit bd90f8a

Please sign in to comment.