summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey V. Udaltsov <svu@gnome.org>2012-02-29 18:42:34 +0000
committerSergey V. Udaltsov <svu@gnome.org>2012-02-29 18:42:34 +0000
commit6b1d5a4894c5905efd0322da8fa34d4c4c69df72 (patch)
tree135f8107aa99d501271d405fd0d8ed983d0a6b98
parent28cb7b7e1bdf2213c4b980d52b03dd5762f39214 (diff)
downloadlibxklavier-6b1d5a4894c5905efd0322da8fa34d4c4c69df72.tar.gz
Fixed for standard python 2 syntax
-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()