Log message for revision 122099:
  Remove strange persistent Expired class
  

Changed:
  U   Zope/trunk/src/OFS/Application.py

-=-
Modified: Zope/trunk/src/OFS/Application.py
===================================================================
--- Zope/trunk/src/OFS/Application.py   2011-07-03 16:24:42 UTC (rev 122098)
+++ Zope/trunk/src/OFS/Application.py   2011-07-03 16:27:10 UTC (rev 122099)
@@ -28,7 +28,6 @@
 from OFS.metaconfigure import get_packages_to_initialize
 from OFS.metaconfigure import package_initialized
 from OFS.userfolder import UserFolder
-from Persistence import Persistent
 from webdav.NullResource import NullResource
 from zExceptions import Redirect as RedirectException, Forbidden
 
@@ -188,22 +187,6 @@
 InitializeClass(Application)
 
 
-class Expired(Persistent):
-
-    def __setstate__(self, s={}):
-        dict=self.__dict__
-        if s.has_key('id'):
-            dict['id']=s['id']
-        elif s.has_key('__name__'):
-            dict['id']=s['__name__']
-        else: dict['id']='Unknown'
-        dict['title']='** Expired **'
-
-    def __save__(self):
-        pass
-
-    __inform_commit__=__save__
-
 def initialize(app):
     initializer = AppInitializer(app)
     initializer.initialize()

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to