If you press ctrl-C during an XML-RPC operation a KeyboardInterrupt error will be thrown and not caught resulting in a backtrace. A general Exception should also be added for non-specific errors.
*** Bug 434908 has been marked as a duplicate of this bug. ***
Created attachment 296076 [details] restructure the tools This is a potentially disruptive patch to all the admin tools. I wanted to be able to catch KeyboardInterrupt but I needed to move all the imports under a try/except in order to catch it in all cases. If one interrupted early enough you'd catch it in the import phase which wasn't covered. So I moved all the imports into a main try/except which calls our main. I moved most other exceptions out of main into this top level try/except to make the individual functions more readable. I also found a difference in the way GSSError is handled in python 2.4 and python 2.5 so I added a small helper to deal with it.
Committed in changeset 694
QA Verified on May 28, 2008 (Yi) Build used: May 28, 2008 (i386)