mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Don't barf when an AppleEvent was not handled. It's ok to ignore.
This commit is contained in:
parent
3f4651ec9c
commit
d9c9b57e29
1 changed files with 3 additions and 2 deletions
|
@ -392,8 +392,9 @@ class Application:
|
|||
try:
|
||||
AEProcessAppleEvent(event)
|
||||
except:
|
||||
print "AEProcessAppleEvent error:"
|
||||
traceback.print_exc()
|
||||
pass
|
||||
#print "AEProcessAppleEvent error:"
|
||||
#traceback.print_exc()
|
||||
|
||||
def do_unknownevent(self, event):
|
||||
if DEBUG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue