[meld/Python3] misc: Fix old-style print
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/Python3] misc: Fix old-style print
- Date: Thu, 9 Jun 2016 20:42:09 +0000 (UTC)
commit 85ec624cd5df6a6a865d57885f97a154ffadb1fc
Author: Galkin Vasily <galkin-vv yandex ru>
Date: Fri Jun 10 06:40:33 2016 +1000
misc: Fix old-style print
meld/misc.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/misc.py b/meld/misc.py
index 296c4af..6292cc2 100644
--- a/meld/misc.py
+++ b/meld/misc.py
@@ -198,9 +198,9 @@ def colour_lookup_with_fallback(name, attribute):
if not style_attr:
import sys
- print >> sys.stderr, _(
+ print(_(
"Couldn't find colour scheme details for %s-%s; "
- "this is a bad install") % (name, attribute)
+ "this is a bad install") % (name, attribute), file=sys.stderr)
sys.exit(1)
return parse_rgba(style_attr)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]