Place the getSingleton call in view decorator in the try
commit2b7676dba6b1a0ec13e728431c1301bf7e46d9c2
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 13 Apr 2009 21:46:33 +0000 (13 21:46 +0000)
committerSverre Rabbelier <srabbelier@gmail.com>
Mon, 13 Apr 2009 21:46:33 +0000 (13 21:46 +0000)
treeb41abed2343a8df06017aca3ecf07f8fe90425d1
parent330521a519df8ed83b40a4ee3a225607966f5063
Place the getSingleton call in view decorator in the try

This way timeouts on the getSingleton() call are also catched.

Patch by: Sverre Rabbelier
app/soc/views/helper/decorators.py