1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/python
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
..
examples python: Remove redundant assignments 2022-05-10 05:19:34 +00:00
samba python: netcmd: remove OptionError alias to OptionValueError 2023-10-24 23:31:29 +00:00
modules.c python: Check return value of talloc_strndup() 2023-08-08 04:39:37 +00:00
modules.h python: Remove const from PyList_AsStringList() 2023-07-21 05:23:32 +00:00
py3compat.h py3compat: remove obsolete comments 2021-03-17 17:10:32 +00:00
pyglue.c pyglue: Add missing whitespace in docstrings 2023-08-08 04:39:37 +00:00
wscript python: Add glue.burn_commandline() method 2023-07-21 05:23:32 +00:00