summaryrefslogtreecommitdiffstats
path: root/ipalib/pkcs10.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/pkcs10.py')
-rw-r--r--ipalib/pkcs10.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/ipalib/pkcs10.py b/ipalib/pkcs10.py
index 646708351..1a544b156 100644
--- a/ipalib/pkcs10.py
+++ b/ipalib/pkcs10.py
@@ -17,6 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+from __future__ import print_function
+
import os
import sys
import base64
@@ -256,7 +258,7 @@ if __name__ == '__main__':
csrlines = sys.stdin.readlines()
csr = ''.join(csrlines)
- print load_certificate_request(csr)
- print get_subject(csr)
- print get_subjectaltname(csr)
- print get_friendlyname(csr)
+ print(load_certificate_request(csr))
+ print(get_subject(csr))
+ print(get_subjectaltname(csr))
+ print(get_friendlyname(csr))