s3:pylibsmb: Consolidate .readdir()/.list() py bindings API
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 3 Dec 2018 20:15:30 +0000 (09:15 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 00:23:07 +0000 (01:23 +0100)
commit40f4e52732f73b8b7b90d3176e4a4536ef6bc678
treee59ffaac4c74b280633baff38cd6186c3638cf94
parentc4dee3437afcf4ccba70cb3fd5848b65fd229781
s3:pylibsmb: Consolidate .readdir()/.list() py bindings API

Rename the .readdir API to .list and make the parameters match up with
the s4 python bindings, i.e. 'mask' is optional and separate from the
directory parameter.

Note that nothing uses the .readdir source3 API currently, so it's safe
to rename.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libsmb/pylibsmb.c