cwvreg.py
changeset 8695 358d8bed9626
parent 8666 1dd655788ece
child 8696 0bb18407c053
--- a/cwvreg.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/cwvreg.py	Thu Feb 14 15:38:25 2013 +0100
@@ -816,10 +816,10 @@
         for key, val in propvalues:
             try:
                 values[key] = self.typed_value(key, val)
-            except ValueError, ex:
+            except ValueError as ex:
                 self.warning('%s (you should probably delete that property '
                              'from the database)', ex)
-            except UnknownProperty, ex:
+            except UnknownProperty as ex:
                 self.warning('%s (you should probably delete that property '
                              'from the database)', ex)