Changeset 2500
- Timestamp:
- 11/13/08 22:50:26 (8 weeks ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
. (modified) (3 props)
-
source/scriptHandler.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property bzr:revision-info
-
old new 1 timestamp: 2008-11-1 3 22:10:55.158999920+11001 timestamp: 2008-11-14 09:48:46.532000065 +1100 2 2 committer: Michael Curran <mick@kulgan.net> 3 3 properties:
-
- Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
-
old new 269 269 2297 mick@kulgan.net-20081113054049-kmiq89owi6y0b0bv 270 270 2298 mick@kulgan.net-20081113111055-g2uf0b5ytgivaiir 271 2299 mick@kulgan.net-20081113224846-xq2tw48ag6wyw1om
-
- Property bzr:file-ids
-
old new 1 source/ appModules/_default.py 92@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FappModules%2F_default.py1 source/scriptHandler.py 362@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FscriptHandler.py
-
- Property bzr:revision-info
-
trunk/source/scriptHandler.py
r2498 r2500 84 84 lastScriptRef=_lastScriptRef() if _lastScriptRef else None 85 85 #We don't allow the same script to be executed from with in itself, but we still should pass the key through 86 if _isScriptRunning and lastScriptRef==script :86 if _isScriptRunning and lastScriptRef==script.im_func: 87 87 return sendKey(keyPress) 88 88 _isScriptRunning=True 89 89 try: 90 90 scriptTime=time.time() 91 scriptRef=weakref.ref(script )92 if (scriptTime-_lastScriptTime)<=0.5 and script ==lastScriptRef:91 scriptRef=weakref.ref(script.im_func) 92 if (scriptTime-_lastScriptTime)<=0.5 and script.im_func==lastScriptRef: 93 93 _lastScriptCount+=1 94 94 else:

NVDA is supported by