diff options
| author | Noel Power <noel.power@suse.com> | 2018-03-09 13:57:01 +0000 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2018-03-23 07:28:24 +0100 |
| commit | a8aab19b90324a02f11cd09c79b8b38522f451ca (patch) | |
| tree | b9a614b8fe212546b1b3b5e8ba022e7f37efd70c /source4/dsdb/tests/python/notification.py | |
| parent | 9c251740b42b04eb0c277bc7975170e0fa784ebf (diff) | |
| download | samba-a8aab19b90324a02f11cd09c79b8b38522f451ca.tar.gz samba-a8aab19b90324a02f11cd09c79b8b38522f451ca.tar.bz2 samba-a8aab19b90324a02f11cd09c79b8b38522f451ca.zip | |
s3/dsdb: convert print func to be py2/py3 compatible
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4/dsdb/tests/python/notification.py')
| -rwxr-xr-x | source4/dsdb/tests/python/notification.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. +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: |
