mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-12 09:11:55 -06:00
8173e5df2d
When modifying ipa-epn code, a warning was issued: -------------- Python 3.11.4 (main, Jun 7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] ************* Module ipaclient.install.ipa_epn ipaclient/install/ipa_epn.py:89: [W0719(broad-exception-raised), drop_privileges] Raising too general exception: Exception) -------------- Use 'RequiresRoot' exception class and clarify the message: ipalib.errors.RequiresRoot: Cannot drop privileges! Related: https://pagure.io/freeipa/issue/9425 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com> |
||
---|---|---|
.. | ||
install | ||
plugins | ||
remote_plugins | ||
__init__.py | ||
__main__.py | ||
discovery.py | ||
frontend.py | ||
Makefile.am | ||
setup.cfg | ||
setup.py |