From 8de13bd7dd76f5f5b23d6e4fb84be1a2f1dc5c5e Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 12 Aug 2015 13:44:11 +0200 Subject: 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 Reviewed-By: Jan Cholasta --- ipatests/test_integration/test_simple_replication.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ipatests/test_integration/test_simple_replication.py') diff --git a/ipatests/test_integration/test_simple_replication.py b/ipatests/test_integration/test_simple_replication.py index f1da22f50..fe1c74e7c 100644 --- a/ipatests/test_integration/test_simple_replication.py +++ b/ipatests/test_integration/test_simple_replication.py @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +from __future__ import print_function + from ipapython.dn import DN from ipatests.test_integration.base import IntegrationTest from ipatests.test_integration import tasks @@ -47,7 +49,7 @@ class TestSimpleReplication(IntegrationTest): user_dn = DN(('uid', login), ('cn', 'users'), ('cn', 'accounts'), basedn) entry = ldap.get_entry(user_dn) - print entry + print(entry) assert entry.dn == user_dn assert entry['uid'] == [login] -- cgit