From bf3dd19ae0644107116fe690fa86333b20021f76 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Fri, 28 Mar 2008 17:06:10 -0400 Subject: 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 --- func/overlord/cmd_modules/copyfile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'func/overlord/cmd_modules/copyfile.py') 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: -- cgit