1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/python/samba
Douglas Bagnall 914226bf52 python: wrap 'import dckeytab' in an explanatory function
The samba.dckeytab module has magic effects on samba.net, but never
appears to be used. That can be confusing, both to people and to
linters. Here we wrap that confusion up into a well-commented
function, so we never again have to wonder why the unused import is
there.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
2020-07-17 07:17:40 +00:00
..
emulate traffic_packets: fix SyntaxWarning: "is" with a literal 2020-04-27 12:19:58 +00:00
gp_parse python/samba/gp_parse: Fix test errors with python3.8 2020-03-19 20:46:42 +00:00
kcc samba_kcc: avoid ValueError when local connections are less than 2 2019-12-18 11:37:53 +00:00
netcmd python: wrap 'import dckeytab' in an explanatory function 2020-07-17 07:17:40 +00:00
provision python: do not always import urllib 2020-06-13 05:25:31 +00:00
samba3 python/samba3: import passdb in the manner it is used 2018-11-01 05:08:14 +01:00
subunit subunit/run.py: change shebang to python3 2019-03-07 13:03:56 +00:00
tests python: wrap 'import dckeytab' in an explanatory function 2020-07-17 07:17:40 +00:00
__init__.py python: wrap 'import dckeytab' in an explanatory function 2020-07-17 07:17:40 +00:00
auth_util.py python: fix slow's mail address 2020-06-05 10:32:30 +00:00
colour.py python/colour: add colourizing and switch functions 2018-05-31 01:57:17 +02:00
common.py python: avoid useless work in dsdb_Dn.__cmp__ 2018-11-01 05:08:12 +01:00
compat.py python: do not always import socket_server 2020-06-13 05:25:31 +00:00
dbchecker.py dbcheck: omit unused argument in err_wrong_default_sd 2020-07-17 07:17:39 +00:00
descriptor.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
dnsserver.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
domain_update.py python/domain_update: remove unused imports 2018-10-25 21:45:53 +02:00
drs_utils.py drs_utils: Avoid invalid dereference of v8 requests 2018-11-06 07:15:33 +01:00
forest_update.py python/forest_update: remove unused imports 2018-10-25 21:45:53 +02:00
getopt.py python getopt: Add bytes option type 2019-07-02 02:23:08 +00:00
gp_ext_loader.py python/gp_ext_loader: remove unused imports 2018-10-25 21:45:53 +02:00
gp_scripts_ext.py gpo: Run Group Policy Scripts 2020-06-23 16:32:30 +00:00
gp_sec_ext.py python/samba: PY3 port gpo.apply smbtorture test 2018-12-10 10:38:22 +01:00
gpclass.py Create Registry.pol group policy extension parser 2020-06-23 16:32:30 +00:00
graph.py py/graph: use 2.6 compatible check for set membership 2019-03-20 06:36:05 +00:00
hostconfig.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
idmap.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
join.py python/join: use the provided krbtgt link in cleanup_old_accounts 2020-07-17 07:17:40 +00:00
logger.py logger: use color automatically for a tty 2018-11-21 10:46:20 +01:00
mdb_util.py mdb_util: Better error message if lmdb-utils not installed 2018-11-09 21:07:47 +01:00
ms_display_specifiers.py python/samba: port open to io.open for PY2/PY3 compat 2018-09-03 03:22:20 +02:00
ms_forest_updates_markdown.py python/ms_forest_updates_markdown: avoid implicit global variable 2020-07-17 07:17:39 +00:00
ms_schema_markdown.py PEP8: fix E305: expected 2 blank lines after class or function definition, found 1 2018-08-24 07:49:30 +02:00
ms_schema.py python/samba: port open to io.open for PY2/PY3 compat 2018-09-03 03:22:20 +02:00
ndr.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
ntacls.py pysmbd: add "session_info" arg tp py_smbd_create_file() 2019-12-20 11:41:42 +00:00
remove_dc.py python/remove_dc: fix Exception construction 2018-11-01 05:08:13 +01:00
samdb.py samba-tool group addmembers: add --member-base-dn option for group member search 2020-01-21 14:38:47 +00:00
schema.py schema.py: avoid inefficient string concatenations 2019-09-24 12:22:44 +00:00
sd_utils.py PEP8: fix E231: missing whitespace after ',' 2018-08-24 07:49:28 +02:00
sites.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
subnets.py python/subnets: use the correct variable name 2018-11-01 05:08:11 +01:00
tdb_util.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
upgrade.py classicupgrade: fix a a bytes-like object is required, not 'str' error 2019-09-23 12:58:20 +00:00
upgradehelpers.py python/upgradehelpers: remove unused imports and variables 2020-07-17 07:17:40 +00:00
uptodateness.py python/uptodateness: cope with unknown invocation ID 2019-01-19 19:21:19 +01:00
xattr.py python/xattr: remove unused variable 2018-11-01 05:08:14 +01:00