1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

PY3: fix string.rsplit usage (doens't exist in PY3)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Noel Power 2018-08-01 12:34:08 +01:00 committed by Andrew Bartlett
parent 59f69a7c21
commit bb9e945e4a

View File

@ -69,7 +69,7 @@ def build(bld):
if 'POD2MAN' in bld.env and bld.env['POD2MAN'] != '':
for src in pidl_manpages.keys():
manpage = pidl_manpages[src]
section = string.rsplit(manpage, ".", 1)[1]
section = manpage.rsplit( ".", 1)[1]
bld(rule='${POD2MAN} -c "Samba Documentation" -s %s ${SRC} ${TGT}' % section,
shell=True,
source=src,