diff --git a/src/keyboard_handler/linux.py b/src/keyboard_handler/linux.py index 15f6ff7b..378f3a25 100644 --- a/src/keyboard_handler/linux.py +++ b/src/keyboard_handler/linux.py @@ -21,7 +21,7 @@ def parse(s): lst.remove(item) #end if if len(lst) > 1: #more than one key, parse error - raise ValueError, 'unknown modifier %s' % lst[0] + raise ValueError('unknown modifier %s' % lst[0]) return (m, lst[0].lower()) class AtspiThread(threading.Thread): def run(self):