fix name error if ValueError is raised stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 01 Dec 2009 08:37:30 +0100
branchstable
changeset 3951 b64c73bdb37b
parent 3950 a014b886b8b4
child 3952 fbd77bda27c1
fix name error if ValueError is raised
cwvreg.py
--- a/cwvreg.py	Mon Nov 30 17:48:24 2009 +0100
+++ b/cwvreg.py	Tue Dec 01 08:37:30 2009 +0100
@@ -492,7 +492,7 @@
         for key, val in propvalues:
             try:
                 values[key] = self.typed_value(key, val)
-            except ValueError:
+            except ValueError, ex:
                 self.warning('%s (you should probably delete that property '
                              'from the database)', ex)
             except UnknownProperty, ex: