Beispiel #1
0
    def __init__(self, image, progtrack, check_cancelation):
        self.destination_fmri = None
        self.__destination_mfst = manifest.NullCachedManifest

        self.origin_fmri = None
        self.__origin_mfst = manifest.NullCachedManifest

        self.actions = manifest.ManifestDifference([], [], [])
        self.check_cancelation = check_cancelation
        self.image = image
        self.pkg_summary = None

        self.__license_status = {}
        self.__progtrack = progtrack
        self.__repair_actions = []
        self.__xferfiles = -1
        self.__xfersize = -1
Beispiel #2
0
        def __init__(self, image=None):
                self.destination_fmri = None
                self.__destination_mfst = manifest.NullFactoredManifest

                self.origin_fmri = None
                self.__origin_mfst = manifest.NullFactoredManifest

                self.actions = manifest.ManifestDifference([], [], [])
                self.image = image
                self.pkg_summary = None

                self._executed = False
                self._license_status = {}
                self.__repair_actions = {}
                self.__xferfiles = -1
                self.__xfersize = -1
                self._autofix_pkgs = []
                self._hash = None