web/views/baseviews.py
changeset 8695 358d8bed9626
parent 8425 b86bdc343c18
child 8745 00c5ea2a064a
--- a/web/views/baseviews.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/web/views/baseviews.py	Thu Feb 14 15:38:25 2013 +0100
@@ -498,7 +498,7 @@
         for attr in entity.e_schema.indexable_attributes():
             try:
                 value = xml_escape(entity.printable_value(attr, format='text/plain').lower())
-            except TransformError, ex:
+            except TransformError as ex:
                 continue
             except Exception:
                 continue