예제 #1
0
    def getBlendChecksum(self):
        """
        Get checksum for .blend file
        """

        if self.blend_path is None:
            return ''

        return md5_for_file(self.blend_path)
예제 #2
0
    def isChecksumOk(self):
        """
        Compare MD5 checksum of received file and file at serevr
        """

        proxy = slave.Slave().getProxy()

        self_checksum = md5_for_file(self.getBlend())
        master_checksum = proxy.job.getBlendChecksum(self.jobUUID)

        return self_checksum == master_checksum
예제 #3
0
    def isChecksumOk(self):
        """
        Compare MD5 checksum of received file and file at serevr
        """

        proxy = slave.Slave().getProxy()

        self_checksum = md5_for_file(self.getBlend())
        master_checksum = proxy.job.getBlendChecksum(self.jobUUID)

        return self_checksum == master_checksum