[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/versioncontrol/version.py Removed no-longer relevent comment.

Jim Fulton jim at zope.com
Tue May 24 15:37:46 EDT 2005


Log message for revision 30490:
  Removed no-longer relevent comment.
  
  Commented some unnecessary code.
  

Changed:
  U   Zope3/trunk/src/zope/app/versioncontrol/version.py

-=-
Modified: Zope3/trunk/src/zope/app/versioncontrol/version.py
===================================================================
--- Zope3/trunk/src/zope/app/versioncontrol/version.py	2005-05-24 19:36:35 UTC (rev 30489)
+++ Zope3/trunk/src/zope/app/versioncontrol/version.py	2005-05-24 19:37:16 UTC (rev 30490)
@@ -45,14 +45,17 @@
         if ignore_dict.has_key(id(ob)):
             return 'ignored'
 
-        # XXX obviously no test for this
         if (zope.app.location.ILocation.providedBy(ob)
             and not zope.app.location.inside(ob, obj)):
             myid = id(ob)
             ids[myid] = ob
             return myid
-        if getattr(ob, '_p_changed', 0) is None:
-            ob._p_changed = 0
+
+
+#          The location check above should wake the object
+##         if getattr(ob, '_p_changed', 0) is None:
+##             ob._p_changed = 0
+
         return None
 
     stream = StringIO()



More information about the Zope3-Checkins mailing list