diff options
author | Jesus M. Rodriguez <jmrodri@firebird.home.net> | 2007-10-01 23:34:04 -0400 |
---|---|---|
committer | Jesus M. Rodriguez <jmrodri@firebird.home.net> | 2007-10-01 23:34:04 -0400 |
commit | d1d61645d5e7b3dfde1a3c462d2a3a54645dd449 (patch) | |
tree | 4c627826b451a19781b3580a9e604e9a2efcd63e | |
parent | c010a077418aeb511cca251f7b2fe0375d00990d (diff) | |
download | third_party-func-d1d61645d5e7b3dfde1a3c462d2a3a54645dd449.tar.gz third_party-func-d1d61645d5e7b3dfde1a3c462d2a3a54645dd449.tar.xz third_party-func-d1d61645d5e7b3dfde1a3c462d2a3a54645dd449.zip |
changed more class defs to use (object) instead of () so it works on
python 2.3 and 2.4.
-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): """ |