diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-27 16:28:50 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-03 15:29:03 -0500 |
commit | db0168f7afdac55eb7e0488cdc05e7a77a25672d (patch) | |
tree | 5413f862a79ae8c8589f1bb1d00feb565309760d /ipa | |
parent | 9efda29d60ae83d17bce793e0a23e3ec43c67f80 (diff) | |
download | freeipa-db0168f7afdac55eb7e0488cdc05e7a77a25672d.tar.gz freeipa-db0168f7afdac55eb7e0488cdc05e7a77a25672d.tar.xz freeipa-db0168f7afdac55eb7e0488cdc05e7a77a25672d.zip |
Started reworking CLI class into cli plugin
Diffstat (limited to 'ipa')
-rwxr-xr-x | ipa | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -26,9 +26,7 @@ The CLI functionality is implemented in ipalib/cli.py """ import sys -from ipalib import api -from ipalib.cli import CLI +from ipalib import api, cli if __name__ == '__main__': - cli = CLI(api, sys.argv[1:]) - sys.exit(cli.run()) + cli.run(api) |