]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/modules/__init__.py
More polished PAI for module html injection and added a couple more places to inject...
[osqa.git] / forum / modules / __init__.py
index f17d00367d702d5d0af80d630e3055f4dca9c3c5..14c56e875ff8eea2e50f3da1f926db2174a51969 100644 (file)
@@ -29,8 +29,9 @@ def get_modules_script(script_name):
             #repr(type(e)) + m.__name__ + ":" + str(e)
             pass
         except:
             #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
 
 
     return all
 
@@ -104,3 +105,5 @@ def module_templates_loader(name, dirs=None):
     raise TemplateDoesNotExist, name 
 
 module_templates_loader.is_usable = True
     raise TemplateDoesNotExist, name 
 
 module_templates_loader.is_usable = True
+
+from decorators import decorate