summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-05-09 14:50:52 +0200
committerMartin Kosek <mkosek@redhat.com>2013-06-05 12:50:29 +0200
commit8984e3e10582c3802edeb03d22d8b2c78381a31c (patch)
treef40786911d6eee6d4794d19403c3087ed804a917 /ipalib/cli.py
parent6f51f92138ff12eff732bf028751dcfa8ef9b442 (diff)
downloadfreeipa-8984e3e10582c3802edeb03d22d8b2c78381a31c.tar.gz
freeipa-8984e3e10582c3802edeb03d22d8b2c78381a31c.tar.xz
freeipa-8984e3e10582c3802edeb03d22d8b2c78381a31c.zip
Remove redundant check for env.interactive
Fixed as part of https://fedorahosted.org/freeipa/ticket/3602
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 84dea2e52..c4b4492a5 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: