mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 08:00:02 -06:00
0dc084a34f
These were triggered because of the movement of sysrestore.py in the tree https://pagure.io/freeipa/issue/8384 Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
22 lines
651 B
Python
22 lines
651 B
Python
#
|
|
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
"""
|
|
Facade for ipalib.sysrestore for backwards compatibility
|
|
"""
|
|
|
|
from ipalib import sysrestore as real_sysrestore
|
|
|
|
|
|
class FileStore(real_sysrestore.FileStore):
|
|
def __init__(self, path=real_sysrestore.SYSRESTORE_PATH,
|
|
index_file=real_sysrestore.SYSRESTORE_INDEXFILE):
|
|
super(FileStore, self).__init__(path, index_file)
|
|
|
|
|
|
class StateFile(real_sysrestore.StateFile):
|
|
def __init__(self, path=real_sysrestore.SYSRESTORE_PATH,
|
|
state_file=real_sysrestore.SYSRESTORE_STATEFILE):
|
|
super(StateFile, self).__init__(path, state_file)
|