ooops stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 26 Jun 2009 14:43:28 +0200
branchstable
changeset 2177 3454adb6164a
parent 2176 1ae46634bf8e
child 2179 9d7bfbf70ed6
ooops
web/views/primary.py
--- a/web/views/primary.py	Fri Jun 26 13:51:37 2009 +0200
+++ b/web/views/primary.py	Fri Jun 26 14:43:28 2009 +0200
@@ -67,7 +67,7 @@
         if self.main_related_section:
             try:
                 self.render_entity_relations(entity)
-            except TypeError: # XXX bw compat
+            except TypeError, e: # XXX bw compat
                 if 'render_entity' not in e.args[0]:
                     raise
                 warn('siderelations argument of render_entity_relations is '