[Repoze-dev] [repoze.bfg] url dispatch problem

2009-07-20 Thread leopay
http://static.repoze.org/bfgdocs/narr/urldispatch.html#example-4 This code seems to have problems class Article(object): def __init__(self, environ): self.__dict__.update(environ['repoze.bfg.matchdict']) def is_root(self): return self['article'] == 'root' I print

Re: [Repoze-dev] [repoze.bfg] url dispatch problem

2009-07-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 leopay wrote: http://static.repoze.org/bfgdocs/narr/urldispatch.html#example-4 This code seems to have problems class Article(object): def __init__(self, environ): self.__dict__.update(environ['repoze.bfg.matchdict']) def

Re: [Repoze-dev] [repoze.bfg] url dispatch problem

2009-07-20 Thread Chris McDonough
Thanks! I'll make a push of the docs today. On 7/20/09 9:37 AM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 leopay wrote: http://static.repoze.org/bfgdocs/narr/urldispatch.html#example-4 This code seems to have problems class Article(object): def __init__(self,

Re: [Repoze-dev] [repoze.bfg] url dispatch problem

2009-07-20 Thread leopay
efficient work On Mon, Jul 20, 2009 at 9:58 PM, Chris McDonough chr...@plope.com wrote: Thanks! I'll make a push of the docs today. On 7/20/09 9:37 AM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 leopay wrote: