comparison pyink/MBScene.py @ 1250:62eaa20b8cf7

More debug message for data_monitor
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 11 Jan 2011 10:27:21 +0800
parents 16a1166c3850
children fb5ad43c13eb
comparison
equal deleted inserted replaced
1249:16a1166c3850 1250:62eaa20b8cf7
66 print ' args: %s' % (repr(args)) 66 print ' args: %s' % (repr(args))
67 print ' kws: %s' % (repr(kws)) 67 print ' kws: %s' % (repr(kws))
68 pass 68 pass
69 69
70 if not self._domview.lock(): # can not lock 70 if not self._domview.lock(): # can not lock
71 if debug_level >= 1:
72 print ' fault to lock'
73 pass
71 return 74 return
72 75
73 try: 76 try:
74 func(self, *args, **kws) 77 func(self, *args, **kws)
75 finally: 78 finally: