Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
revert to the first implementation concept:
Browse files Browse the repository at this point in the history
trusted adapters provide always a location.

untrusted adapters provide a location unless
its factories are public.

if an adapter does not provide ILocation itself
it gets location-proxied. such an adapter is
not directly pickable because location proxies
are not pickable. if you use pickalbe adapters
they should provide ILocation.
  • Loading branch information
Dominik Huber committed Apr 20, 2005
1 parent ebb2e8b commit 41652fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapter.py
Expand Up @@ -238,6 +238,8 @@ def assertLocation(adapter, parent):
return adapter


# BBB: The trusted adapter factory is replaced by the locating trusted adapter
# factory
class TrustedAdapterFactory(TrustedAdapterFactoryMixin):
"""Adapt an adapter factory to to provide trusted adapters
Expand Down

0 comments on commit 41652fe

Please sign in to comment.