Function
zope.security.adapter.assertLocation

Signature

assertLocation(adapter, parent)

Documentation String

Assert locatable adapters.

This function asserts that the adapter get location-proxied if it doesn't provide ILocation itself. Further more the returned locatable adapter get its parent set if its __parent__ attribute is currently None.

see adapter.txt