[Zodb-checkins] CVS: ZODB4/ZODB - Serialize.py:1.11

Jeremy Hylton jeremy@zope.com
Fri, 13 Dec 2002 17:16:03 -0500


Update of /cvs-repository/ZODB4/ZODB
In directory cvs.zope.org:/tmp/cvs-serv28495/ZODB

Modified Files:
	Serialize.py 
Log Message:
Silence PyChecker warning by adding stub definition of method.


=== ZODB4/ZODB/Serialize.py 1.10 => 1.11 ===
--- ZODB4/ZODB/Serialize.py:1.10	Wed Dec 11 18:40:50 2002
+++ ZODB4/ZODB/Serialize.py	Fri Dec 13 17:16:02 2002
@@ -167,7 +167,9 @@
 
 class BaseObjectReader:
 
-    # subclasses must define _persistent_load().
+    def _persistent_load(self, oid):
+        # subclasses must define _persistent_load().
+        raise NotImplementedError
 
     def _get_unpickler(self, pickle):
         file = StringIO(pickle)