summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_gi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_gi.py b/tests/test_gi.py
index 25867f5..3e6f654 100755
--- a/tests/test_gi.py
+++ b/tests/test_gi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python
#
# Test GI binding of libxklavier
# Copyright (C) 2011 Martin Pitt <martin.pitt@ubuntu.com>
@@ -54,7 +54,7 @@ if not registry.load(False):
print('\n== Available Layouts ==')
def layout_iter(registry, item, data):
- print('[%s] %s, ' % (item_str(item.name), item_str(item.description)), end='')
+ print('[%s] %s, ' % (item_str(item.name), item_str(item.description)))
registry.foreach_layout(layout_iter, None)
print()