From 361727eb4ff3b7d0278819f074baabe7f901997a Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 4 Dec 2018 09:48:31 +0000 Subject: [PATCH] [CODE] Make doodbsetup compatible with python 2 Although it's not recommended nor officially supported, this simple change avoids syntax errors that can happen e.g. when compiling python code in Odoo <= 10.0 with a repo included in another, like with the use case explained in https://github.com/Tecnativa/doodba/pull/174/. --- .vscode/doodbasetup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vscode/doodbasetup.py b/.vscode/doodbasetup.py index d5b7dfa..8a800cc 100755 --- a/.vscode/doodbasetup.py +++ b/.vscode/doodbasetup.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +from __future__ import print_function + from configparser import ConfigParser from os import path from urllib.request import urlretrieve