diff options
author | Adrian Likins <alikins@redhat.com> | 2008-03-28 17:06:10 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2008-03-28 17:06:10 -0400 |
commit | bf3dd19ae0644107116fe690fa86333b20021f76 (patch) | |
tree | 35b064d8b95afa65325b7bd8f8a1dc12d92d6b6f /func/overlord/cmd_modules/call.py | |
parent | b2d8973c777e0c00192aeaa7e0a02b21675ba132 (diff) | |
download | third_party-func-bf3dd19ae0644107116fe690fa86333b20021f76.tar.gz third_party-func-bf3dd19ae0644107116fe690fa86333b20021f76.tar.xz third_party-func-bf3dd19ae0644107116fe690fa86333b20021f76.zip |
move command.py:BaseCommand() to it's own module, base_command.py
update the cmd_modules/* classes accordingly
also cleanup some imports in the cmd_modules/* classes
Diffstat (limited to 'func/overlord/cmd_modules/call.py')
-rw-r--r-- | func/overlord/cmd_modules/call.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/func/overlord/cmd_modules/call.py b/func/overlord/cmd_modules/call.py index dda57eb..d3e5fba 100644 --- a/func/overlord/cmd_modules/call.py +++ b/func/overlord/cmd_modules/call.py @@ -17,12 +17,12 @@ import optparse import pprint import xmlrpclib -from func.overlord import command from func.overlord import client +from func.overlord import base_command DEFAULT_FORKS = 1 -class Call(client.command.BaseCommand): +class Call(base_command.BaseCommand): name = "call" usage = "call module method name arg1 arg2..." def addOptions(self): @@ -51,7 +51,7 @@ class Call(client.command.BaseCommand): def parse(self, argv): self.argv = argv - return command.BaseCommand.parse(self, argv) + return base_command.BaseCommand.parse(self, argv) def format_return(self, data): |