summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/server
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2016-01-05 13:39:39 +0100
committerJan Cholasta <jcholast@redhat.com>2016-01-20 11:59:21 +0100
commit462f4a5161185e74432cfe492ab959cc15b12711 (patch)
treec29cc21c2b58e94efe0ed94f603e78895d7a0f2c /ipaserver/install/server
parent465dd9829c2df1b82a5c4734b125cf587bf5077a (diff)
downloadfreeipa-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 'ipaserver/install/server')
-rw-r--r--ipaserver/install/server/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaserver/install/server/common.py b/ipaserver/install/server/common.py
index 08980c60f..c2d69064d 100644
--- a/ipaserver/install/server/common.py
+++ b/ipaserver/install/server/common.py
@@ -2,6 +2,8 @@
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
+from __future__ import print_function
+
import os
import sys