Logo Search packages:      
Sourcecode: qa-assistant version File versions  Download package

def fedoraus::QAFunctions::srpm_md5 (   self  ) 

Get the md5sum of a src.rpm.

Definition at line 179 of file fedoraus.py.

00179                       :
        '''Get the md5sum of a src.rpm.
        '''
        hasher = md5.new()
        if (self.checklist.properties.has_key('SRPMfile') and
                self.checklist.properties.has_key('SRPMMD5sum') and
                self.checklist.properties['SRPMfile'].value):
            try:
                fileHash = self._hash_file(
                        self.checklist.properties['SRPMfile'].value, hasher)
            except IOError:
                self.checklist.properties['SRPMMD5sum'].value = None
                return
            del hasher
            self.checklist.properties['SRPMMD5sum'] = (
                    fileHash.keys()[0] + ' ' + fileHash.values()[0])

    def srpm_internal_md5s(self):


Generated by  Doxygen 1.6.0   Back to index