mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +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:
|
try:
|
||||||
AEProcessAppleEvent(event)
|
AEProcessAppleEvent(event)
|
||||||
except:
|
except:
|
||||||
print "AEProcessAppleEvent error:"
|
pass
|
||||||
traceback.print_exc()
|
#print "AEProcessAppleEvent error:"
|
||||||
|
#traceback.print_exc()
|
||||||
|
|
||||||
def do_unknownevent(self, event):
|
def do_unknownevent(self, event):
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue