[Zodb-checkins] CVS: Zope3/src/zodb/storage/file - errors.py:1.1.2.2

Jeremy Hylton jeremy at zope.com
Mon Apr 21 16:10:54 EDT 2003


Update of /cvs-repository/Zope3/src/zodb/storage/file
In directory cvs.zope.org:/tmp/cvs-serv3114

Modified Files:
      Tag: jeremy-new-pack-branch
	errors.py 
Log Message:
Make exception name shorter.


=== Zope3/src/zodb/storage/file/errors.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zodb/storage/file/errors.py:1.1.2.1	Wed Apr 16 14:12:32 2003
+++ Zope3/src/zodb/storage/file/errors.py	Mon Apr 21 15:10:54 2003
@@ -15,13 +15,10 @@
     The format of the given file is not valid.
     """
 
-class CorruptedFileStorageError(FileStorageError, StorageSystemError):
+class CorruptedError(FileStorageError, StorageSystemError):
     """Corrupted file storage."""
 
-class CorruptedTransactionError(CorruptedFileStorageError):
-    pass
-
-class CorruptedDataError(CorruptedFileStorageError):
+class CorruptedDataError(CorruptedError):
 
     def __init__(self, oid=None, buf=None, pos=None):
         self.oid = oid




More information about the Zodb-checkins mailing list