At this point I knew I had stayed up too late coding.
By greebsnarf
>>> viewlet_app
<function viewlet_app at 0xdc6c80>
>>> viewlet_app(app)
<function filter at 0xedb488>
>>> viewlet_app(app)(app)
<class 'footsie.viewlet.ViewletManager'>
>>> viewlet_app(app)(app)(app)
<footsie.viewlet.ViewletManager object at 0xf3c9d0>
>>> viewlet_app(app)(app)(app)(app)
*** TypeError: __call__() takes exactly 3 arguments (2 given)
>>> viewlet_app(app)(app)(app)(app, app)
*** AssertionError: URL fragments must start with / or http:// (you gave 'viewlets')
>>> try:
... reduce(viewlet_app, [app] * 3)(app, app)?
... except AttributeError:
... raise AttributeError("Something has no attribute 'app'")
... finally:
... print app, app(app), (app(app, app), app)
This entry was posted on July 28, 2008 at 2:15 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.