python: samba.getopt: Port module to Python 3 compatible form
authorLumir Balhar <lbalhar@redhat.com>
Tue, 17 Jan 2017 10:03:17 +0000 (11:03 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Mar 2017 06:31:12 +0000 (07:31 +0100)
commit9ada914f9075ef7e255fe3386f4bafb6f77275f6
treeac3db5d22939174260b399c37017c778292c5fe6
parentda71c39f46581023834e129d13ab4663493c224d
python: samba.getopt: Port module to Python 3 compatible form

Port samba.getopt module to Python 3 compatible form.

Remove unused and untested `get_hostconfig()` function. Andrew Bartlett
suggested this removal because it is the simpliest way how to break
a long dependency line of Python modules which have to be ported
at once.
More info: https://lists.samba.org/archive/samba-technical/2017-January/118150.html

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/getopt.py