diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-10-10 19:14:30 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-10-10 19:14:30 +0200 |
| commit | 0be264b29eac11a5dec5e6565d23d4ea86bd905a (patch) | |
| tree | 79362f2340c89cb3cf2e8d8a467f357b7c7a8326 /setup/setup_dev.py | |
| parent | cf753a7fdf1739dcf37d2ad74f4c8efb3d4ff3b3 (diff) | |
| parent | e1104ac344cbc349a46b22339b13dfe9cbab8bcb (diff) | |
[MERGE] forward port branch 11.0 up to e1104ac344c
Diffstat (limited to 'setup/setup_dev.py')
| -rwxr-xr-x | setup/setup_dev.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setup/setup_dev.py b/setup/setup_dev.py index a5194c70569..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): @@ -117,7 +118,7 @@ def cmd_setup_git_review(): def setup_deps_debian(git_dir): debian_control_path = os.path.join(git_dir, 'debian/control') debian_control = open(debian_control_path).read() - debs = re.findall('python-[0-9a-z]+',debian_control) + debs = re.findall('python3-[0-9a-z]+',debian_control) debs += ["postgresql"] proc = subprocess.Popen(['sudo','apt-get','install'] + debs, stdin=open('/dev/tty')) proc.communicate() |
