From 51dcd955690881d7e61c01a81391edf1be3ae3e4 Mon Sep 17 00:00:00 2001 From: Malthe Borch Date: Thu, 2 Oct 2008 22:37:58 +0000 Subject: Make sure the IWSGIApplicationCreatedEvent interface actually implements the contract (and test this). --- repoze/bfg/events.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'repoze/bfg/events.py') diff --git a/repoze/bfg/events.py b/repoze/bfg/events.py index b43fd5753..54f60c294 100644 --- a/repoze/bfg/events.py +++ b/repoze/bfg/events.py @@ -32,3 +32,7 @@ class WSGIApplicationCreatedEvent(object): implements(IWSGIApplicationCreatedEvent) def __init__(self, app): self.app = app + + @property + def object(self): + return self.app -- cgit v1.2.3