]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/modules/__init__.py
OSQA-349
[osqa.git] / forum / modules / __init__.py
index f17d00367d702d5d0af80d630e3055f4dca9c3c5..77a266fc799018f2c5024daeb130813382c7fe1f 100644 (file)
@@ -26,11 +26,12 @@ 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:
-            import sys, traceback
-            traceback.print_exc(file=sys.stdout)
+            pass
+            #import sys, traceback
+            #traceback.print_exc(file=sys.stdout)
 
     return all
 
@@ -104,3 +105,5 @@ def module_templates_loader(name, dirs=None):
     raise TemplateDoesNotExist, name 
 
 module_templates_loader.is_usable = True
+
+from decorators import decorate