From a8aab19b90324a02f11cd09c79b8b38522f451ca Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 9 Mar 2018 13:57:01 +0000 Subject: s3/dsdb: convert print func to be py2/py3 compatible Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- source4/dsdb/tests/python/notification.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/dsdb/tests/python/notification.py') diff --git a/source4/dsdb/tests/python/notification.py b/source4/dsdb/tests/python/notification.py index 974aba5a0ca..a4456cb12c6 100755 --- a/source4/dsdb/tests/python/notification.py +++ b/source4/dsdb/tests/python/notification.py @@ -16,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +from __future__ import print_function import optparse import sys import os @@ -341,7 +342,7 @@ delete: otherLoginWorkstations except LdbError as e9: (num, _) = e9.args if num != ERR_UNWILLING_TO_PERFORM: - print "va[%s]" % va + print("va[%s]" % va) self.assertEquals(num, ERR_UNWILLING_TO_PERFORM) try: @@ -359,7 +360,7 @@ delete: otherLoginWorkstations except LdbError as e11: (num, _) = e11.args if num != ERR_UNWILLING_TO_PERFORM: - print "va[%s]" % va + print("va[%s]" % va) self.assertEquals(num, ERR_UNWILLING_TO_PERFORM) if not "://" in url: -- cgit v1.2.3