]> git.openstreetmap.org Git - osqa.git/commitdiff
Don't raise errors here, is causing search to be broken on certain django versions.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 7 Jul 2011 09:06:24 +0000 (09:06 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 7 Jul 2011 09:06:24 +0000 (09:06 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1109 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/templatetags/extra_tags.py

index 9fa31f8ade7f3fe4533d9eccead813d7e9542908..86516e7d7ace91dbb294f053e81e01eadf3d0773 100644 (file)
@@ -306,7 +306,6 @@ class DeclareNode(template.Node):
                     context[m.group(1).strip()] = eval(command, d)
                 except Exception, e:
                     logging.error("Error in declare tag, when evaluating: %s" % m.group(3).strip())
                     context[m.group(1).strip()] = eval(command, d)
                 except Exception, e:
                     logging.error("Error in declare tag, when evaluating: %s" % m.group(3).strip())
-                    raise
         return ''
 
 @register.tag(name='declare')
         return ''
 
 @register.tag(name='declare')