# HG changeset patch # User David McClosky # Date 2010-06-19 05:17:33 # Node ID 4e558643c95293722a9d2622803fe5e7cf3d7991 # Parent 428cf7f04131ae21e4b43e19627c44ff81d3f068 subcomposer: squelch the exception we got every time we exited Ignore-this: eb8ad2f0db1be056e3d4466ae9f5e09d This bug is as old as the code and I've had enough of it! diff --git a/bin/subcomposer b/bin/subcomposer --- a/bin/subcomposer +++ b/bin/subcomposer @@ -172,6 +172,10 @@ if __name__ == "__main__": sc.fill_both_boxes(args[0]) while 1: - root.update() + try: + root.update() + except tk.TclError: + break + sc.considersendupdate() time.sleep(.01)