From 8984e3e10582c3802edeb03d22d8b2c78381a31c Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 9 May 2013 14:50:52 +0200 Subject: Remove redundant check for env.interactive Fixed as part of https://fedorahosted.org/freeipa/ticket/3602 --- ipalib/cli.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ipalib/cli.py b/ipalib/cli.py index 84dea2e5..c4b4492a 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -1043,7 +1043,6 @@ class cli(backend.Executioner): """Get the keyword arguments for a Command""" if self.env.interactive: self.prompt_interactively(cmd, kw) - if self.env.interactive: try: callbacks = cmd.get_callbacks('interactive_prompt') except AttributeError: -- cgit