[Checkins] SVN: Products.ZopeVersionControl/trunk/ fix undefined exception

David Glick davidglick at onenw.org
Fri Jul 10 22:15:17 EDT 2009


Log message for revision 101805:
  fix undefined exception

Changed:
  U   Products.ZopeVersionControl/trunk/CHANGES.txt
  U   Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py

-=-
Modified: Products.ZopeVersionControl/trunk/CHANGES.txt
===================================================================
--- Products.ZopeVersionControl/trunk/CHANGES.txt	2009-07-11 02:12:38 UTC (rev 101804)
+++ Products.ZopeVersionControl/trunk/CHANGES.txt	2009-07-11 02:15:16 UTC (rev 101805)
@@ -4,6 +4,8 @@
 1.0a2 (unreleased)
 ------------------
 
+    - Fixed an undefined exception.
+
     - Don't break when checking the connection version in ZODB>=3.9.
 
     - Fixed tests to not use the DemoStorage quota parameter which was

Modified: Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py
===================================================================
--- Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py	2009-07-11 02:12:38 UTC (rev 101804)
+++ Products.ZopeVersionControl/trunk/Products/ZopeVersionControl/Utility.py	2009-07-11 02:15:16 UTC (rev 101805)
@@ -92,7 +92,7 @@
         return getattr(self.__base__, name)
 
     def commit(*args, **kw):
-        raise VersionWriteError(
+        raise VersionControlError(
             'Old versions of objects cannot be modified.'
             )
 



More information about the Checkins mailing list