[Commits] (john) * I now do a repository check on exit in debug mode
commits at osafoundation.org
commits at osafoundation.org
Thu Jan 27 10:56:45 PST 2005
Commit by: john
Modified files:
chandler/application/Application.py 1.290 1.291
chandler/parcels/osaf/framework/blocks/Block.py 1.92 1.93
chandler/parcels/osaf/framework/blocks/ControlBlocks.py 1.160 1.161
Log message:
* I now do a repository check on exit in debug mode
* Minor edit in repository viewer
* Got rid of include policy method for events
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/application/Application.py.diff?r1=text&tr1=1.290&r2=text&tr2=1.291
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/Block.py.diff?r1=text&tr1=1.92&r2=text&tr2=1.93
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/ControlBlocks.py.diff?r1=text&tr1=1.160&r2=text&tr2=1.161
Index: chandler/parcels/osaf/framework/blocks/Block.py
diff -u chandler/parcels/osaf/framework/blocks/Block.py:1.92 chandler/parcels/osaf/framework/blocks/Block.py:1.93
--- chandler/parcels/osaf/framework/blocks/Block.py:1.92 Tue Jan 25 16:23:41 2005
+++ chandler/parcels/osaf/framework/blocks/Block.py Thu Jan 27 10:56:43 2005
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.92 $"
-__date__ = "$Date: 2005/01/26 00:23:41 $"
+__version__ = "$Revision: 1.93 $"
+__date__ = "$Date: 2005/01/27 18:56:43 $"
__copyright__ = "Copyright (c) 2003-2005 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -617,18 +617,4 @@
class BlockEvent(Item):
-
- def includePolicyMethod(self, items, references, cloudAlias):
- """ Method for handling an endpoint's byMethod includePolicy """
-
- # Determine if we are a global event
- events = self.findPath("//parcels/osaf/framework/blocks/Events")
- if self.itsParent is events:
- # Yes, global: don't copy me
- references[self.itsUUID] = self
- return []
-
- # No, not global: copy me
- items[self.itsUUID] = self
- return [self]
-
+ pass
\ No newline at end of file
Index: chandler/parcels/osaf/framework/blocks/ControlBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.160 chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.161
--- chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.160 Wed Jan 26 18:45:16 2005
+++ chandler/parcels/osaf/framework/blocks/ControlBlocks.py Thu Jan 27 10:56:43 2005
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.160 $"
-__date__ = "$Date: 2005/01/27 02:45:16 $"
+__version__ = "$Revision: 1.161 $"
+__date__ = "$Date: 2005/01/27 18:56:43 $"
__copyright__ = "Copyright (c) 2003-2005 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -1001,7 +1001,7 @@
if not child.IsOk():
parentUUID = self.GetItemData(parentId).GetData()
- for child in self.GetElementChildren (Globals.wxApplication.UIRepositoryView [parentUUID]):
+ for child in self.GetElementChildren (wx.GetApp().UIRepositoryView [parentUUID]):
cellValues = self.GetElementValues (child)
childNodeId = self.AppendItem (parentId,
cellValues.pop(0),
Index: chandler/application/Application.py
diff -u chandler/application/Application.py:1.290 chandler/application/Application.py:1.291
--- chandler/application/Application.py:1.290 Tue Jan 25 16:41:29 2005
+++ chandler/application/Application.py Thu Jan 27 10:56:43 2005
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.290 $"
-__date__ = "$Date: 2005/01/26 00:41:29 $"
+__version__ = "$Revision: 1.291 $"
+__date__ = "$Date: 2005/01/27 18:56:43 $"
__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -458,7 +458,8 @@
"""
Main application termination.
"""
-
+ if __debug__:
+ wx.GetApp().UIRepositoryView.repository.check()
Globals.wakeupCaller.shutdown()
self.__twistedReactorManager.stopReactor()
"""
More information about the Commits
mailing list