Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Commit

Permalink
[CODE] Make doodbsetup compatible with python 2
Browse files Browse the repository at this point in the history
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 Tecnativa/doodba#174.
  • Loading branch information
yajo committed Dec 4, 2018
1 parent 589b71a commit 361727e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vscode/doodbasetup.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 361727e

Please sign in to comment.