1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/python/samba
Rob van der Linde fb058e7f2c python: netcmd: remove OptionError alias to OptionValueError
The other methods in this file already raise optparse.OptionValueError
directly, except for two older ones.

They are using an alias which changes the name to OptionError, the
confusing part about this is that optparse.OptionError actually does
exist, so the incorrect alias needs to be removed.

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-10-24 23:31:29 +00:00
..
emulate python:samba:emulate: Fix code spelling 2023-06-23 13:44:31 +00:00
gp gpdupate: Implement Drive Maps Client Side Extension 2023-10-16 00:59:32 +00:00
gp_parse gp: Use read_file() instead of readfp() 2023-08-30 02:15:29 +00:00
kcc python: Fix spelling 2023-08-30 02:15:29 +00:00
netcmd python: netcmd: catch parent exception class OptParseError instead 2023-10-24 23:31:29 +00:00
provision CVE-2018-14628: python:provision: make DELETEDOBJECTS_DESCRIPTOR available in the ldif files 2023-10-16 14:39:33 +00:00
samba3 python:samba:samba3: Fix code spelling 2023-06-23 13:44:31 +00:00
subunit python:subunit: Use now() instead of utcnow() 2023-10-13 03:50:31 +00:00
tests python: netcmd: parser class in getSamDB should set option_class 2023-10-24 23:31:29 +00:00
__init__.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
auth_util.py
colour.py python:colour: Fix exception message 2023-10-13 03:50:31 +00:00
common.py python/samba/common: Fix typos 2023-03-03 01:07:36 +00:00
dbchecker.py CVE-2018-14628: python:descriptor: let samba-tool dbcheck fix the nTSecurityDescriptor on CN=Deleted Objects containers 2023-10-16 14:39:33 +00:00
descriptor.py CVE-2018-14628: python:descriptor: let samba-tool dbcheck fix the nTSecurityDescriptor on CN=Deleted Objects containers 2023-10-16 14:39:33 +00:00
dnsresolver.py DNS Resolver: support both dnspython before and after 2.0.0 2020-10-26 18:33:40 +00:00
dnsserver.py python:samba: Fix code spelling 2023-06-23 14:51:14 +00:00
domain_update.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
drs_utils.py python:samba: Fix code spelling 2023-06-23 14:51:14 +00:00
forest_update.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
functional_level.py samba-tool domain: Clean up code 2023-05-18 01:03:37 +00:00
getopt.py python: netcmd: remove OptionError alias to OptionValueError 2023-10-24 23:31:29 +00:00
graph.py python: Fix invalid escape sequences 2023-08-30 02:15:29 +00:00
hostconfig.py python/hostconfig: remove 'from __future__ import absolute_import' 2021-04-28 03:43:34 +00:00
idmap.py
join.py python:join: Fix references to undefined variables 2023-08-30 02:15:29 +00:00
logger.py py/samba/logger: respect NO_COLOR env variable 2022-09-06 21:12:36 +00:00
mdb_util.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
ms_display_specifiers.py python/samba: Avoid resource leak 2023-03-03 01:07:36 +00:00
ms_forest_updates_markdown.py python:samba: Fix code spelling 2023-06-23 14:51:14 +00:00
ms_schema_markdown.py python/samba: adapt ms_schema[_markdown].py to the latest schema definitions 2023-03-22 22:10:32 +00:00
ms_schema.py python/samba: adapt ms_schema[_markdown].py to the latest schema definitions 2023-03-22 22:10:32 +00:00
ndr.py python/samba/ndr: add ndr_deepcopy() helper 2023-03-22 15:01:32 +00:00
ntacls.py python: Remove redundant backslashes 2023-08-30 02:15:29 +00:00
policies.py python: Fix reference to undefined name ‘samba’ 2023-08-30 02:15:29 +00:00
remove_dc.py python: Fix spelling 2023-08-30 02:15:29 +00:00
safe_tarfile.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samdb.py python: Remove redundant backslashes 2023-08-30 02:15:29 +00:00
schema.py setup/ad-schema: add the latest v1803 and v1903 schema files from Microsoft 2023-03-22 22:10:32 +00:00
sd_utils.py sd_utils: fix typo in get_sd_as_sddl docstring 2023-03-31 07:25:32 +00:00
sites.py python: Handle LdbError thrown from functions operating on DNs 2022-10-05 04:23:32 +00:00
subnets.py python: Handle LdbError thrown from functions operating on DNs 2022-10-05 04:23:32 +00:00
tdb_util.py samba-tool domain provision: better message if tdbbackup missing 2022-09-06 21:12:36 +00:00
trust_utils.py Add CreateTrustedDomainRelax wrapper for fips mode 2020-11-06 10:02:35 +00:00
upgrade.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
upgradehelpers.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
uptodateness.py py/uptodateness: more details in missing dn report 2022-07-28 06:18:43 +00:00
xattr.py python/xattr: Properly process system.posix_acl_access 2022-05-10 05:19:34 +00:00