netcmd/ldapcmp: rename __eq__ to diff
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 29 Oct 2018 01:49:28 +0000 (14:49 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Nov 2018 06:46:18 +0000 (07:46 +0100)
commit683342b7a000f370cdc7456ce51cfb69783ced58
tree7b68299d1a5e0fb0a5bf3ae4c8b2982a0cb57792
parent5f47c04cf3e7ef90a3521c097f60af49bd37615d
netcmd/ldapcmp: rename __eq__ to diff

This method actually changed both objects and print info.
__eq__ is not a proper name and is not designed for this case.
Rename to diff.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/ldapcmp.py