diff options
Diffstat (limited to 'ipapython')
| -rw-r--r-- | ipapython/config.py | 3 | ||||
| -rw-r--r-- | ipapython/graph.py | 2 | ||||
| -rw-r--r-- | ipapython/sysrestore.py | 6 |
3 files changed, 7 insertions, 4 deletions
diff --git a/ipapython/config.py b/ipapython/config.py index 70afaffa2..38e1087f6 100644 --- a/ipapython/config.py +++ b/ipapython/config.py @@ -126,7 +126,8 @@ def verify_args(parser, args, needed_args = None): elif len_have < len_need: parser.error("no %s specified" % needed_list[len_have]) -class IPAConfig: + +class IPAConfig(object): def __init__(self): self.default_realm = None self.default_server = [] diff --git a/ipapython/graph.py b/ipapython/graph.py index b4373abea..0e06a0831 100644 --- a/ipapython/graph.py +++ b/ipapython/graph.py @@ -3,7 +3,7 @@ # -class Graph(): +class Graph(object): """ Simple oriented graph structure diff --git a/ipapython/sysrestore.py b/ipapython/sysrestore.py index cd09caee5..1cc7ce56a 100644 --- a/ipapython/sysrestore.py +++ b/ipapython/sysrestore.py @@ -42,7 +42,8 @@ SYSRESTORE_PATH = paths.TMP SYSRESTORE_INDEXFILE = "sysrestore.index" SYSRESTORE_STATEFILE = "sysrestore.state" -class FileStore: + +class FileStore(object): """Class for handling backup and restore of files""" def __init__(self, path = SYSRESTORE_PATH, index_file = SYSRESTORE_INDEXFILE): @@ -290,7 +291,8 @@ class FileStore: return True -class StateFile: + +class StateFile(object): """A metadata file for recording system state which can be backed up and later restored. StateFile gets reloaded every time to prevent loss of information |
