web/views/primary.py
branchstable
changeset 2177 3454adb6164a
parent 2171 b0c564c86a4b
child 2181 94ca417b9b07
child 2190 d9f5fd1879fc
--- 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 '