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 /ipapython/dnssec | |
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 'ipapython/dnssec')
-rw-r--r-- | ipapython/dnssec/ldapkeydb.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipapython/dnssec/ldapkeydb.py b/ipapython/dnssec/ldapkeydb.py index b0b259f0e..0ee309525 100644 --- a/ipapython/dnssec/ldapkeydb.py +++ b/ipapython/dnssec/ldapkeydb.py @@ -2,6 +2,8 @@ # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # +from __future__ import print_function + from binascii import hexlify import collections from pprint import pprint |