Allow ipa help command to run when ipa-client-install is not configured

https://fedorahosted.org/freeipa/ticket/3584

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Gabe
2015-05-22 09:19:03 -06:00
committed by Jan Cholasta
parent 943c539122
commit 387be8651c

View File

@@ -1333,7 +1333,7 @@ def run(api):
api.register(klass)
api.load_plugins()
api.finalize()
if not 'config_loaded' in api.env:
if not 'config_loaded' in api.env and not 'help' in argv:
raise NotConfiguredError()
sys.exit(api.Backend.cli.run(argv))
except KeyboardInterrupt: