[Zodb-checkins] CVS: ZODB3/ZODB - FileStorage.py:1.104

Guido van Rossum guido@python.org
Sat, 28 Sep 2002 23:36:10 -0400


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv28601

Modified Files:
	FileStorage.py 
Log Message:
Typo: CorruptedData -> CorruptedDataError.  Found by pychecker.


=== ZODB3/ZODB/FileStorage.py 1.103 => 1.104 ===
--- ZODB3/ZODB/FileStorage.py:1.103	Tue Sep 17 14:25:52 2002
+++ ZODB3/ZODB/FileStorage.py	Sat Sep 28 23:36:09 2002
@@ -569,7 +569,7 @@
             h = self._file.read(34)
             _oid = h[:8]
             if _oid != oid:
-                raise CorruptedData, h
+                raise CorruptedDataError, h
             vlen = unpack(">H", h[-2:])[0]
             if vlen:
                 # If there is a version, find out its name and let