netcmd/ldapcmp: promote re object to global
commit26f0992c24281514dd3ef079c1951a56277373a4
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 6 Nov 2018 08:37:47 +0000 (6 21:37 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Nov 2018 06:46:20 +0000 (21 07:46 +0100)
treeb4e2aa6a31f3af132d815b9eff0ca6c321eb971b
parent7d9282bf7c02df351f976701ac6b4ed121be72f1
netcmd/ldapcmp: promote re object to global

Then we can reuse the re obj.

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