From 1630bc1658c8f6780e808ed99f3ec81be01e2cd7 Mon Sep 17 00:00:00 2001 From: cclauss Date: Fri, 2 Mar 2018 02:38:19 +0100 Subject: [PATCH] print() is a function in Python 3 --- sdks/python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/setup.py b/sdks/python/setup.py index a069237e22be..551cd12e6fb7 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -159,7 +159,7 @@ def generate_common_urns(): src_time = os.path.getmtime(src) if os.path.exists(src) else -1 out_time = os.path.getmtime(out) if os.path.exists(out) else -1 if src_time > out_time: - print 'Regenerating common_urns module.' + print('Regenerating common_urns module.') urns = {} for m in re.finditer( r'\b(?:urn:)?beam:(\S+):(\S+):(v\S+)', open(src).read()):