hgext/zeroconf/Zeroconf.py
branchstable
changeset 10514 1426b4807fc8
parent 10387 9b87c5f4c634
child 11435 7c58cde598fe
--- a/hgext/zeroconf/Zeroconf.py	Fri Feb 19 21:48:09 2010 +0100
+++ b/hgext/zeroconf/Zeroconf.py	Fri Feb 19 16:50:47 2010 -0800
@@ -863,7 +863,8 @@
 						try:
 							self.readers[socket].handle_read()
 						except:
-							traceback.print_exc()
+							if not globals()['_GLOBAL_DONE']:
+								traceback.print_exc()
 				except:
 					pass