diff options
author | Adrian Likins <alikins@redhat.com> | 2007-10-02 15:40:31 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2007-10-02 15:40:31 -0400 |
commit | 3390e2ccc46c4aa7eeb1648ce08695b38a1ff298 (patch) | |
tree | cb8224896c3161dbd37614e4b14cab1a28e9fe2e | |
parent | 6e3807081996f5bd82455612f91da66b5dd5f1fa (diff) | |
parent | d1d61645d5e7b3dfde1a3c462d2a3a54645dd449 (diff) | |
download | func-3390e2ccc46c4aa7eeb1648ce08695b38a1ff298.tar.gz func-3390e2ccc46c4aa7eeb1648ce08695b38a1ff298.tar.xz func-3390e2ccc46c4aa7eeb1648ce08695b38a1ff298.zip |
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
Conflicts:
overlord/client.py
-rwxr-xr-x | modules/virt.py | 2 | ||||
-rwxr-xr-x | overlord/client.py | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/modules/virt.py b/modules/virt.py index 7162a36..18ad718 100755 --- a/modules/virt.py +++ b/modules/virt.py @@ -38,7 +38,7 @@ VIRT_STATE_NAME_MAP = { 6 : "crashed" } -class FuncLibvirtConnection(): +class FuncLibvirtConnection(object): def __init__(self): diff --git a/overlord/client.py b/overlord/client.py index a82990c..6ab75eb 100755 --- a/overlord/client.py +++ b/overlord/client.py @@ -36,7 +36,7 @@ FUNC_USAGE = "Usage: %s [ --help ] [ --verbose ] target.example.org module metho # =================================== -class CommandAutomagic(): +class CommandAutomagic(object): """ This allows a client object to act as if it were one machine, when in reality it represents many. @@ -62,8 +62,7 @@ class CommandAutomagic(): # =================================== - -class Client(): +class Client(object): def __init__(self, server_spec, port=DEFAULT_PORT, interactive=False, verbose=False, noglobs=False): @@ -223,7 +222,6 @@ class Client(): class Call(command.Command): name = "call" useage = "call nodule method name arg1 arg2..." - def addOptions(self): self.parser.add_option("-v","--verbose",dest="verbose",action="store_true") self.parser.add_option("-p","--port",dest="port",default=DEFAULT_PORT) |