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:
1 parent
8cd9ddfdeb
commit
d6d8319ece
1 file changed
+1
-1
@@ -449,7 +449,7 @@ class ServerInstallInterface(ServerCertificateInstallInterface,
|
||||
"You cannot specify --external-ca-profile without "
|
||||
"--external-ca")
|
||||
|
||||
if self.uninstalling:
|
||||
if self.uninstalling: # pylint: disable=using-constant-test
|
||||
if (self.realm_name or self.admin_password or
|
||||
self.master_password):
|
||||
raise RuntimeError(
|
||||
|
||||
Reference in new issue
Block a user