mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
idrange: fix unassigned global variable
Global variable '_dcerpc_bindings_installed' is in some cases used before assigment. This patch ensures that _dcerpc_bindings_installed is always initialized. https://fedorahosted.org/freeipa/ticket/6082 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
dd2e3a5547
commit
c2edfa0adb
@ -35,6 +35,9 @@ if api.env.in_server and api.env.context in ['lite', 'server']:
|
||||
_dcerpc_bindings_installed = True
|
||||
except ImportError:
|
||||
_dcerpc_bindings_installed = False
|
||||
else:
|
||||
_dcerpc_bindings_installed = False
|
||||
|
||||
|
||||
ID_RANGE_VS_DNA_WARNING = """=======
|
||||
WARNING:
|
||||
|
Loading…
Reference in New Issue
Block a user