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-26 21:01:39 (GMT)
committer Dan Williams <dcbw@redhat.com>2006-04-26 21:01:39 (GMT)
commit2b57bcfd614daaa671509602cce1c28a58d7491f (patch)
treec57b058231e1bfd2e108e2c2ba9a8534aa3bfe35 /shell
parent06680398a9949e0e9e4c446843512285c8ec6d7b (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 aa63284..8830344 100755
--- a/shell/src/shell.py
+++ b/shell/src/shell.py
@@ -295,4 +295,7 @@ def main():
activityContainer = ActivityContainer(service, session_bus)
- gtk.main()
+ try:
+ gtk.main()
+ except KeyboardInterrupt:
+ pass