mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Use the print function
In Python 3, `print` is no longer a statement. Call it as a function everywhere, and include the future import to remove the statement in Python 2 code as well. Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
fb7943dab4
commit
8de13bd7dd
@@ -31,6 +31,8 @@
|
||||
# nsscert: the certificate is an NSS Certificate object
|
||||
# rawcert: the cert is in an unknown format
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
import base64
|
||||
@@ -407,4 +409,4 @@ if __name__ == '__main__':
|
||||
|
||||
nsscert = load_certificate(cert)
|
||||
|
||||
print nsscert
|
||||
print(nsscert)
|
||||
|
||||
Reference in New Issue
Block a user