All pastes #454752 Raw Edit

Something

public text v1 · immutable
·published 2007-04-23 20:08 UTC
rendered paste body
Index: /home/heikki/workspace/chandler/parcels/osaf/framework/blocks/BranchPoint.py
===================================================================
--- /home/heikki/workspace/chandler/parcels/osaf/framework/blocks/BranchPoint.py	(revision 14051)
+++ /home/heikki/workspace/chandler/parcels/osaf/framework/blocks/BranchPoint.py	(working copy)
@@ -57,7 +57,9 @@
     A widget block that gives its BranchPointBlock a chance to change
     the tree of blocks within it.
     """
-    def wxSynchronizeWidget(self, hints={}):
+    def wxSynchronizeWidget(self, hints=None):
+        if hints is None:
+            hints = {}
         blockItem = self.blockItem
         if blockItem.isShown:
             blockItem.installTreeOfBlocks(hints)