diff options
| author | xmo-odoo <xmo@odoo.com> | 2017-04-27 15:03:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-27 15:03:28 +0200 |
| commit | fdaf967bb0ed4a72de0139ff6d2697624c6ba1fd (patch) | |
| tree | cbf777f2a8b244671b1de62e00fb9704260f8e20 /odoo/tools/pycompat.py | |
| parent | 22e50c66f19abd976fdf090d55c44ae01ec8895e (diff) | |
[FIX] forgot a bit of version checking
Diffstat (limited to 'odoo/tools/pycompat.py')
| -rw-r--r-- | odoo/tools/pycompat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/pycompat.py b/odoo/tools/pycompat.py index 114f7f2bd87..50b6f492a59 100644 --- a/odoo/tools/pycompat.py +++ b/odoo/tools/pycompat.py @@ -3,7 +3,7 @@ # very strongly inspired by https://github.com/pallets/werkzeug/blob/master/werkzeug/_compat.py import sys -PY2 = sys.version_info[0] +PY2 = sys.version_info[0] == 2 if PY2: # pylint: disable=long-builtin,xrange-builtin |
