Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2006-04-27 16:20:42 (GMT)
committer Dan Williams <dcbw@redhat.com>2006-04-27 16:20:42 (GMT)
commitc4781fe8e31b33e3721b6bd864faf1d4feffaef1 (patch)
treeef225f616894c5de0418ee8311cdc49db9b175b1 /shell
parent9bd898a5b2b1a1ea00e392e93e1c040640d77277 (diff)
Don't traceback on Ctrl+C
Diffstat (limited to 'shell')
-rwxr-xr-xshell/src/shell.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/src/shell.py b/shell/src/shell.py
index 3c0584e..5ce526e 100755
--- a/shell/src/shell.py
+++ b/shell/src/shell.py
@@ -296,4 +296,7 @@ def main():
activityContainer = ActivityContainer(service, session_bus)
- gtk.main()
+ try:
+ gtk.main()
+ except KeyboardInterrupt:
+ pass