diff options
Diffstat (limited to 'repoze/bfg/interfaces.py')
| -rw-r--r-- | repoze/bfg/interfaces.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py index 7647facb4..16a4a7b21 100644 --- a/repoze/bfg/interfaces.py +++ b/repoze/bfg/interfaces.py @@ -98,3 +98,11 @@ class IWSGIApplicationCreatedEvent(IObjectEvent): configured.""" app = Attribute(u"Published application") + +class ILocation(Interface): + """Objects that have a structural location""" + + __parent__ = Attribute("The parent in the location hierarchy") + + __name__ = Attribute("The name within the parent") + |
