diff options
author | Petr Viktorin <pviktori@redhat.com> | 2016-01-05 13:39:39 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-01-20 11:59:21 +0100 |
commit | 462f4a5161185e74432cfe492ab959cc15b12711 (patch) | |
tree | c29cc21c2b58e94efe0ed94f603e78895d7a0f2c /doc | |
parent | 465dd9829c2df1b82a5c4734b125cf587bf5077a (diff) | |
download | freeipa-462f4a5161185e74432cfe492ab959cc15b12711.tar.gz freeipa-462f4a5161185e74432cfe492ab959cc15b12711.tar.xz freeipa-462f4a5161185e74432cfe492ab959cc15b12711.zip |
Use print_function future definition wherever print() is used
Pylint considers `print` a statement if the __future__ import is
not present, even if it's used like a function with one argument.
Add the __future__ import to files `pylint --py3k` complains about.
https://fedorahosted.org/freeipa/ticket/5623
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/examples/python-api.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/python-api.py b/doc/examples/python-api.py index 8c79dc4ca..0a6eb60ef 100755 --- a/doc/examples/python-api.py +++ b/doc/examples/python-api.py @@ -19,6 +19,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # +from __future__ import print_function from ipalib import api # 1. Initialize ipalib |