1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

samba python tests: 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>
This commit is contained in:
Noel Power
2018-03-09 13:38:42 +00:00
committed by Andrew Bartlett
parent b9f0c7f93c
commit 708abbf306
11 changed files with 60 additions and 50 deletions

View File

@ -18,6 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from __future__ import print_function
"""Tests for the samba3sam LDB module, which maps Samba3 LDAP to AD LDAP."""
import os
@ -41,7 +42,7 @@ def read_datafile(filename):
return open(os.path.join(datadir, filename), 'r').read()
def ldb_debug(l, text):
print text
print(text)
class MapBaseTestCase(TestCaseInTempDir):