diff options
author | Seth Vidal <skvidal@fedoraproject.org> | 2007-10-02 10:15:16 -0400 |
---|---|---|
committer | Seth Vidal <skvidal@fedoraproject.org> | 2007-10-02 10:15:16 -0400 |
commit | 66fc8600c90f5308a11de6895650441743396c8c (patch) | |
tree | 644ef94f69e96504f86af50b4b76aab313ac1548 | |
parent | ccac76856508a058c23658fed060bca546e2a153 (diff) | |
parent | d1d61645d5e7b3dfde1a3c462d2a3a54645dd449 (diff) | |
download | func-66fc8600c90f5308a11de6895650441743396c8c.tar.gz func-66fc8600c90f5308a11de6895650441743396c8c.tar.xz func-66fc8600c90f5308a11de6895650441743396c8c.zip |
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
* 'master' of ssh://git.fedoraproject.org/git/hosted/func:
changed more class defs to use (object) instead of () so it works on
-rwxr-xr-x | modules/virt.py | 2 | ||||
-rwxr-xr-x | overlord/client.py | 6 |
2 files changed, 4 insertions, 4 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 d6ccdc8..412fbe6 100755 --- a/overlord/client.py +++ b/overlord/client.py @@ -34,7 +34,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. @@ -60,7 +60,7 @@ class CommandAutomagic(): # =================================== -class Client(): +class Client(object): def __init__(self, server_spec, port=DEFAULT_PORT, interactive=False, verbose=False, noglobs=False): @@ -217,7 +217,7 @@ class Client(): # =================================================================== -class FuncCommandLine(): +class FuncCommandLine(object): def __init__(self,myname,args): """ |