[CMF-checkins] CVS: CMF/CMFStaging - StagingTool.py:1.15
Shane Hathaway
cvs-admin at zope.org
Fri Oct 31 15:53:28 EST 2003
Update of /cvs-repository/CMF/CMFStaging
In directory cvs.zope.org:/tmp/cvs-serv6620
Modified Files:
StagingTool.py
Log Message:
Added is_source to the staging stats. object_stage_form uses it.
=== CMF/CMFStaging/StagingTool.py 1.14 => 1.15 ===
--- CMF/CMFStaging/StagingTool.py:1.14 Thu Oct 30 16:05:32 2003
+++ CMF/CMFStaging/StagingTool.py Fri Oct 31 15:53:27 2003
@@ -432,6 +432,7 @@
"exists": revisions.get(stage_name) is not None,
"revision": revisions.get(stage_name),
"stageable": stageable,
+ "is_source": (stage_name == source_stage),
}
res.append(stats)
return res
More information about the CMF-checkins
mailing list