diff options
| author | xmo-odoo <xmo@odoo.com> | 2017-04-25 13:27:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-25 13:27:54 +0200 |
| commit | 6b9268bd15f8db22855d91849749b879f2d553a1 (patch) | |
| tree | a14ed2a0ff1b4eafb0f94b0dfafcea34187499bf /odoo/cli/deploy.py | |
| parent | 3cbca4b7348b60eb6cfe3f423983d53dada67862 (diff) | |
[FIX] print statement -> function
In Python 3, ``print`` becomes a builtin function. This is available
in Python 2 by importing the ``print_function`` feature from
``__future__``, the feature is conveniently still available in Python
3 (it just does nothing).
Fixers:
libfuturize.fixes.fix_print_with_import
#8530
Diffstat (limited to 'odoo/cli/deploy.py')
| -rw-r--r-- | odoo/cli/deploy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odoo/cli/deploy.py b/odoo/cli/deploy.py index 2547ebdcd78..6e76cea7d45 100644 --- a/odoo/cli/deploy.py +++ b/odoo/cli/deploy.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +from __future__ import print_function import argparse import os import requests |
