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:
parent
59f69a7c21
commit
bb9e945e4a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user