diff options
| author | Jan Barta <55042barta@sstebrno.eu> | 2016-06-03 12:45:01 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-09-22 16:52:57 +0200 |
| commit | 9bc57a01e1c0942e1a94ac0d948c8c5f8c0d4dcc (patch) | |
| tree | 75e4df938295786de5cd715ddd6cdbceb570aba1 /ipapython/sysrestore.py | |
| parent | 568f9da331af14e5f05764c46f51a0410da1e49c (diff) | |
| download | freeipa-9bc57a01e1c0942e1a94ac0d948c8c5f8c0d4dcc.tar.gz freeipa-9bc57a01e1c0942e1a94ac0d948c8c5f8c0d4dcc.tar.xz freeipa-9bc57a01e1c0942e1a94ac0d948c8c5f8c0d4dcc.zip | |
pylint: fix old-style-class
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Diffstat (limited to 'ipapython/sysrestore.py')
| -rw-r--r-- | ipapython/sysrestore.py | 6 |
1 files changed, 4 insertions, 2 deletions
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 |
