public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pyatspi/files: pyatspi-2.6.0-examples-python3.patch
@ 2012-12-10  9:56 Alexandre Rostovtsev (tetromino)
  0 siblings, 0 replies; only message in thread
From: Alexandre Rostovtsev (tetromino) @ 2012-12-10  9:56 UTC (permalink / raw
  To: gentoo-commits

tetromino    12/12/10 09:56:38

  Added:                pyatspi-2.6.0-examples-python3.patch
  Log:
  Update to python-r1.eclass.
  
  (Portage version: 2.2.0_alpha145/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

Revision  Changes    Path
1.1                  dev-python/pyatspi/files/pyatspi-2.6.0-examples-python3.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyatspi/files/pyatspi-2.6.0-examples-python3.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyatspi/files/pyatspi-2.6.0-examples-python3.patch?rev=1.1&content-type=text/plain

Index: pyatspi-2.6.0-examples-python3.patch
===================================================================
From 4f10a696002179082e41568b5109400ac8478a96 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Mon, 10 Dec 2012 04:52:03 -0500
Subject: [PATCH] examples: support python2 and python3 syntax

https://bugzilla.gnome.org/show_bug.cgi?id=689957
---
 examples/magFocusTracker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/magFocusTracker.py b/examples/magFocusTracker.py
index 47efe00..7ca3b67 100755
--- a/examples/magFocusTracker.py
+++ b/examples/magFocusTracker.py
@@ -282,7 +282,7 @@ def main():
             startTracking()
         pyatspi.Registry.start()
     else:
-        print 'Magnification service not available. Exiting.'
+        print('Magnification service not available. Exiting.')
 
     return 0
 
-- 
1.8.0






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-10  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-10  9:56 [gentoo-commits] gentoo-x86 commit in dev-python/pyatspi/files: pyatspi-2.6.0-examples-python3.patch Alexandre Rostovtsev (tetromino)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox