diff options
author | Eitan Isaacson <eitan@monotonous.org> | 2010-07-23 11:49:16 -0700 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2010-07-23 11:52:42 -0700 |
commit | 96799b350abda6aee35ece566ae1a4b1c8ea3e08 (patch) | |
tree | 1ede40f50caa65fcacd9d20d7d53753ddc3c63f3 /caribou | |
parent | 5813683a2373220e835c53b2dd8aee3fa3984a11 (diff) | |
download | caribou-96799b350abda6aee35ece566ae1a4b1c8ea3e08.tar.gz |
Print exceptions.
Diffstat (limited to 'caribou')
-rw-r--r-- | caribou/ui/keyboard.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/caribou/ui/keyboard.py b/caribou/ui/keyboard.py index ae0f2a5..67d580d 100644 --- a/caribou/ui/keyboard.py +++ b/caribou/ui/keyboard.py @@ -29,6 +29,7 @@ import gtk import sys import virtkey import os +import traceback try: import json except ImportError: @@ -222,8 +223,8 @@ class KbLayoutDeserializer(object): basename, ext = os.path.splitext(kb_file) try: kb_layouts = self._deserialize_from_format(ext, contents) - except: - pass + except Exception, e: + traceback.print_exc() else: return kb_layouts return [] |