[FIX] P3 syntax errors preventing compileall
Not that we really care about compileall, but some people apparently do. Fixes #19871 Closes #19849
This commit is contained in:
committed by
Xavier Morel
parent
40ca8557e9
commit
348b2d713a
+2
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user