diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-07-07 14:16:59 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-07-07 14:16:59 +0000 |
| commit | 3b8c3155656c694cf9c2dd84a96d758b324f7b83 (patch) | |
| tree | 1aee479b9eb929657c747f619077d3d398ba0979 /repoze/bfg/sampleapp | |
| parent | c91c9c78274ab454980a0087ade15cc897f47ddc (diff) | |
| download | pyramid-3b8c3155656c694cf9c2dd84a96d758b324f7b83.tar.gz pyramid-3b8c3155656c694cf9c2dd84a96d758b324f7b83.tar.bz2 pyramid-3b8c3155656c694cf9c2dd84a96d758b324f7b83.zip | |
Clean up mapply a little.
Diffstat (limited to 'repoze/bfg/sampleapp')
| -rw-r--r-- | repoze/bfg/sampleapp/app.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/repoze/bfg/sampleapp/app.py b/repoze/bfg/sampleapp/app.py index 84069f220..f48f72141 100644 --- a/repoze/bfg/sampleapp/app.py +++ b/repoze/bfg/sampleapp/app.py @@ -1,3 +1,5 @@ +import UserDict + from zope.interface import classProvides from zope.interface import implements from zope.interface import Interface @@ -11,7 +13,7 @@ from webob import Response class IBlogModel(Interface): id = Attribute('id') -class BlogModel: +class BlogModel(UserDict): implements(IBlogModel) def __init__(self, id): self.id = id |
