KCC: Reduce brokenness of samba.kcc module
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 4 Jun 2015 22:59:23 +0000 (10:59 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 12 Jun 2015 04:57:13 +0000 (06:57 +0200)
commitf37b89c157f0f439e3c5edb24419ba5efed180b0
treebe692b6905484dfdd40ddca8b415aeb5137d9d3f
parent94b1258501b717e2173d266dfc118fcd42649ca6
KCC: Reduce brokenness of samba.kcc module

This module is still not being used, and is being fixed slowly to make
it clear what is happening. Here we remove references to globals in
the samba_kcc script (notably opts), and instead add the various
options as KCC.__init__ arguments.

There is more to come.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/kcc/__init__.py [changed mode: 0755->0644]