diff options
| author | Malthe Borch <mborch@gmail.com> | 2008-10-02 22:37:58 +0000 |
|---|---|---|
| committer | Malthe Borch <mborch@gmail.com> | 2008-10-02 22:37:58 +0000 |
| commit | 51dcd955690881d7e61c01a81391edf1be3ae3e4 (patch) | |
| tree | fd85556ff6dad6f6bb85af5845bf5e258ad29104 /repoze/bfg/events.py | |
| parent | d62a33817e9994631073d75623e420fe4d5a6904 (diff) | |
| download | pyramid-51dcd955690881d7e61c01a81391edf1be3ae3e4.tar.gz pyramid-51dcd955690881d7e61c01a81391edf1be3ae3e4.tar.bz2 pyramid-51dcd955690881d7e61c01a81391edf1be3ae3e4.zip | |
Make sure the IWSGIApplicationCreatedEvent interface actually implements the contract (and test this).
Diffstat (limited to 'repoze/bfg/events.py')
| -rw-r--r-- | repoze/bfg/events.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
