diff options
author | Adrian Likins <alikins@redhat.com> | 2008-03-28 14:13:49 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2008-03-28 14:13:49 -0400 |
commit | 4054792be014a9b7373a5b909f5052ab271c2307 (patch) | |
tree | 3cd0cbecad706d16d3483b2c071f101c607580e8 /func/overlord/cmd_modules/copyfile.py | |
parent | 8bf00319db57ecfed8477f97e673248ff3d9e44a (diff) | |
download | func-4054792be014a9b7373a5b909f5052ab271c2307.tar.gz func-4054792be014a9b7373a5b909f5052ab271c2307.tar.xz func-4054792be014a9b7373a5b909f5052ab271c2307.zip |
Changing func/func/overlord/client.py:Client() to Overlord(). Client() still
works but will dive a deprecation warning.
First pass at this refactor. I think just about everything has been updated, but
some questions remain. Like if client.py needs a name change.
Diffstat (limited to 'func/overlord/cmd_modules/copyfile.py')
-rw-r--r-- | func/overlord/cmd_modules/copyfile.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/func/overlord/cmd_modules/copyfile.py b/func/overlord/cmd_modules/copyfile.py index 295aeab..a149d5d 100644 --- a/func/overlord/cmd_modules/copyfile.py +++ b/func/overlord/cmd_modules/copyfile.py @@ -49,11 +49,11 @@ class CopyFile(client.command.Command): def do(self, args): self.server_spec = self.parentCommand.server_spec - client_obj = client.Client(self.server_spec, - port=self.port, - interactive=False, - verbose=self.options.verbose, - config=self.config) + overlord_obj = client.Overlord(self.server_spec, + port=self.port, + interactive=False, + verbose=self.options.verbose, + config=self.config) try: @@ -69,5 +69,5 @@ class CopyFile(client.command.Command): data = xmlrpclib.Binary(fb) - results = client_obj.run("copyfile", "copyfile", [self.options.remotepath, data, + results = overlord_obj.run("copyfile", "copyfile", [self.options.remotepath, data, mode, uid, gid]) |