summaryrefslogtreecommitdiffstats
path: root/func/overlord/cmd_modules/copyfile.py
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-03-28 17:06:10 -0400
committerAdrian Likins <alikins@redhat.com>2008-03-28 17:06:10 -0400
commitbf3dd19ae0644107116fe690fa86333b20021f76 (patch)
tree35b064d8b95afa65325b7bd8f8a1dc12d92d6b6f /func/overlord/cmd_modules/copyfile.py
parentb2d8973c777e0c00192aeaa7e0a02b21675ba132 (diff)
downloadthird_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/copyfile.py')
-rw-r--r--func/overlord/cmd_modules/copyfile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/func/overlord/cmd_modules/copyfile.py b/func/overlord/cmd_modules/copyfile.py
index 1371b6d..63341f2 100644
--- a/func/overlord/cmd_modules/copyfile.py
+++ b/func/overlord/cmd_modules/copyfile.py
@@ -19,11 +19,11 @@ import pprint
import stat
import xmlrpclib
-from func.overlord import command
+from func.overlord import base_command
from func.overlord import client
-class CopyFile(client.command.BaseCommand):
+class CopyFile(base_command.BaseCommand):
name = "copyfile"
usage = "copy a file to a client"
@@ -42,7 +42,7 @@ class CopyFile(client.command.BaseCommand):
self.verbose = self.options.verbose
def do(self, args):
- self.server_spec = self.parentClass.server_spec
+ self.server_spec = self.parentCommand.server_spec
self.getOverlord()
try: