[Modeling-cvs] SF.net SVN: modeling: [969] trunk/ProjectModeling/Modeling/DatabaseChannel.py
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2006-02-25 23:15:16
|
Revision: 969 Author: sbigaret Date: 2006-02-25 15:15:05 -0800 (Sat, 25 Feb 2006) ViewCVS: http://svn.sourceforge.net/modeling/?rev=969&view=rev Log Message: ----------- True & False do not exist in py2.1 Modified Paths: -------------- trunk/ProjectModeling/Modeling/DatabaseChannel.py Modified: trunk/ProjectModeling/Modeling/DatabaseChannel.py =================================================================== --- trunk/ProjectModeling/Modeling/DatabaseChannel.py 2006-02-25 15:46:25 UTC (rev 968) +++ trunk/ProjectModeling/Modeling/DatabaseChannel.py 2006-02-25 23:15:05 UTC (rev 969) @@ -188,7 +188,7 @@ # DBContext.initializeObject() raises KeyError on the corresp. GlobalID # since the corresponding snapshot has been thrown away. # - snapshot_refcount_incremented = False + snapshot_refcount_incremented = 0 database.lock() try: # Handle snapshot @@ -262,7 +262,7 @@ database.incrementSnapshotCountForGlobalID(globalID) - snapshot_refcount_incremented = True + snapshot_refcount_incremented = 1 finally: database.unlock() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |