witten
/
luminotes
Archived
1
0
Fork 0

This __setstate__ function is no longer necessary, as all databases have been converted to the new schema.

This commit is contained in:
Dan Helfman 2007-07-28 04:09:37 +00:00
parent 069532b58c
commit e963007ae5
1 changed files with 0 additions and 7 deletions

View File

@ -2,13 +2,6 @@ from datetime import datetime
class Persistent( object ):
def __setstate__( self, state ):
key = "_Persistent__revisions_list"
if key not in state:
state[ key ] = [ state[ "_Persistent__revision" ] ]
self.__dict__.update( state )
def __init__( self, object_id, secondary_id = None ):
self.__object_id = object_id
self.__secondary_id = secondary_id