summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorJairo Llopis <yajo.sk8@gmail.com>2017-10-05 16:00:36 +0200
committerXavier Morel <xmo@odoo.com>2017-10-10 13:32:28 +0200
commit348b2d713a980b5e4be6105b06e04e8c438e5a97 (patch)
tree44d260870f038311f48ed83c331b0ae2141b11e2 /setup
parent40ca8557e9e25832afa40afd84124319cb71f87b (diff)
[FIX] P3 syntax errors preventing compileall
Not that we really care about compileall, but some people apparently do. Fixes #19871 Closes #19849
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/setup_dev.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup/setup_dev.py b/setup/setup_dev.py
index d8e1c171556..bc430db42b6 100755
--- a/setup/setup_dev.py
+++ b/setup/setup_dev.py
@@ -13,6 +13,7 @@
# subclassing the Command object
#
#----------------------------------------------------------
+from __future__ import print_function
import os
import re
import sys
@@ -28,7 +29,7 @@ if re.search('github.com[:/]odoo/odoo.git$', sys.argv[2]):
"""
def printf(f,*l):
- print "odoo:" + f % l
+ print("odoo:" + f % l)
def run(*l):
if isinstance(l[0], list):