]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/modules/__init__.py
Adds optional status diamonds next to the usernames.
[osqa.git] / forum / modules / __init__.py
index 60f21655166cf5331b219be92cf4f79d02d0414e..77a266fc799018f2c5024daeb130813382c7fe1f 100644 (file)
@@ -26,9 +26,10 @@ def get_modules_script(script_name):
         try:
             all.append(__import__('%s.%s' % (m.__name__, script_name), globals(), locals(), [m.__name__]))
         except ImportError, e:
-            #repr(type(e)) + m.__name__ + ":" + str(e)
+            #print repr(type(e)) + m.__name__ + ":" + str(e)
             pass
         except:
+            pass
             #import sys, traceback
             #traceback.print_exc(file=sys.stdout)
 
@@ -104,3 +105,5 @@ def module_templates_loader(name, dirs=None):
     raise TemplateDoesNotExist, name 
 
 module_templates_loader.is_usable = True
+
+from decorators import decorate