web/propertysheet.py
changeset 8695 358d8bed9626
parent 7083 b8e35cde46e9
child 10505 a9becf2cce8b
--- a/web/propertysheet.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/web/propertysheet.py	Thu Feb 14 15:38:25 2013 +0100
@@ -101,7 +101,7 @@
             # this in the source css file ?
             try:
                 content = self.compile(content)
-            except ValueError, ex:
+            except ValueError as ex:
                 self.error("can't process %s/%s: %s", rdirectory, rid, ex)
                 adirectory = rdirectory
             else: