summaryrefslogtreecommitdiff
path: root/engine/python3/thumb.py
diff options
context:
space:
mode:
Diffstat (limited to 'engine/python3/thumb.py')
-rw-r--r--engine/python3/thumb.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/python3/thumb.py b/engine/python3/thumb.py
index 93a3967..7fb97a8 100644
--- a/engine/python3/thumb.py
+++ b/engine/python3/thumb.py
@@ -5,8 +5,8 @@
#
# Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com>
# Copyright (c) 2009 Hideaki ABE <abe.sendai@gmail.com>
-# Copyright (c) 2010-2014 Takao Fujiwara <takao.fujiwara1@gmail.com>
-# Copyright (c) 2007-2014 Red Hat, Inc.
+# Copyright (c) 2010-2015 Takao Fujiwara <takao.fujiwara1@gmail.com>
+# Copyright (c) 2007-2015 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -27,6 +27,8 @@ __all__ = (
'ThumbShiftSegment',
)
+import sys
+
from gi.repository import GLib
from gi.repository import IBus
@@ -408,7 +410,6 @@ class ThumbShiftKeyboard:
0, 1024, 0)[3]
layout_list = prop.split('\0')
except TypeError:
- import sys
print >> sys.stderr, \
'This problem is fixed in the latest gobject-introspection'
print >> sys.stderr, \