[gtksourceview] Fix matching bracket print in test-widget.py
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Fix matching bracket print in test-widget.py
- Date: Sat, 25 Feb 2012 21:09:38 +0000 (UTC)
commit 5ced87934dbff2ab4828727bf732c61150c9a284
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Feb 25 22:05:45 2012 +0100
Fix matching bracket print in test-widget.py
Fixes bug #670682, patch by TomÃÅ Virgl.
tests/test-widget.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-widget.py b/tests/test-widget.py
index c7a50a6..c88769c 100644
--- a/tests/test-widget.py
+++ b/tests/test-widget.py
@@ -512,7 +512,7 @@ class Window(Gtk.Window):
bracket = place.get_char()
row = place.get_line() + 1
col = place.get_line_offset() + 1
- print "Matched bracket: '%c' at row: %i, col: %i\n" % bracket % row % col
+ print "Matched bracket: '%c' at row: %i, col: %i" % (bracket, row, col)
def open_file(self, filename):
if os.path.isabs(filename):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]