From 4a66b3b50c1ed0f57a79a62e909cc51e28f3004d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 21 Jun 2013 14:12:45 +0000 Subject: [PATCH] 6817: import print_function looks nicer svn: r22547 --- src/Relationship.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Relationship.py b/src/Relationship.py index 401760be6..d6af4638a 100644 --- a/src/Relationship.py +++ b/src/Relationship.py @@ -19,6 +19,9 @@ # # $Id$ + +from __future__ import print_function + """ Classes for relationships. """ @@ -1020,7 +1023,7 @@ class RelationshipCalculator(object): pmap, depth, stoprecursemap) except: import traceback - print traceback.print_exc() + print(traceback.print_exc()) return def collapse_relations(self, relations):