mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove redundant check for env.interactive
Fixed as part of https://fedorahosted.org/freeipa/ticket/3602
This commit is contained in:
parent
6f51f92138
commit
8984e3e105
@ -1043,7 +1043,6 @@ class cli(backend.Executioner):
|
|||||||
"""Get the keyword arguments for a Command"""
|
"""Get the keyword arguments for a Command"""
|
||||||
if self.env.interactive:
|
if self.env.interactive:
|
||||||
self.prompt_interactively(cmd, kw)
|
self.prompt_interactively(cmd, kw)
|
||||||
if self.env.interactive:
|
|
||||||
try:
|
try:
|
||||||
callbacks = cmd.get_callbacks('interactive_prompt')
|
callbacks = cmd.get_callbacks('interactive_prompt')
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
Loading…
Reference in New Issue
Block a user