HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //proc/self/root/usr/lib/python3.6/site-packages/ipalib/install/sysrestore.py
#
# 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)