pylint: disable using-constant-test

Related: https://pagure.io/freeipa/issue/9278

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
Florence Blanc-Renaud 2022-11-21 10:06:45 +01:00
parent 22f182ee92
commit 5434c12b60

View File

@ -449,7 +449,7 @@ class ServerInstallInterface(ServerCertificateInstallInterface,
"You cannot specify --external-ca-profile without " "You cannot specify --external-ca-profile without "
"--external-ca") "--external-ca")
if self.uninstalling: if self.uninstalling: # pylint: disable=using-constant-test
if (self.realm_name or self.admin_password or if (self.realm_name or self.admin_password or
self.master_password): self.master_password):
raise RuntimeError( raise RuntimeError(