From f077653f208f6f7c89c78c87c2abb0ea7031dbc0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 28 Jul 2010 03:00:58 +0000 Subject: - A ``repoze.bfg.events.subscriber`` decorator was added. This decorator decorates module-scope functions, which are then treated as event listeners after a scan() is performed. See the Events narrative documentation chapter and the ``repoze.bfg.events`` module documentation for more information. --- repoze/bfg/decorator.py | 1 + 1 file changed, 1 insertion(+) (limited to 'repoze/bfg/decorator.py') diff --git a/repoze/bfg/decorator.py b/repoze/bfg/decorator.py index 69c1e65e2..d30a06658 100644 --- a/repoze/bfg/decorator.py +++ b/repoze/bfg/decorator.py @@ -13,3 +13,4 @@ class reify(object): val = self.wrapped(inst) setattr(inst, self.wrapped.__name__, val) return val + -- cgit v1.2.3