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

def fedoraus::QAFunctions::header (   self  ) 

Output the header for the revew.

The fedora.us header consists of a Review state: PUBLISH +1
or NEEDSWORK.  This is followed by a list of the MD5Sums of
package files involved.

Reimplemented from functions::BaseQAFunctions.

Definition at line 18 of file fedoraus.py.

00018                     :
        '''Output the header for the revew.

        The fedora.us header consists of a Review state: PUBLISH +1
        or NEEDSWORK.  This is followed by a list of the MD5Sums of
        package files involved.
        '''
        # Extract the resolution from the checklist
        if self.checklist.resolution == 'Pass':
            buf = 'PUBLISH +1\n\n'
        elif self.checklist.resolution == 'Fail':
            buf = 'NEEDSWORK\n\n'
        else:
            buf = self.checklist.resolution + '\n\n'
            
        buf += 'MD5Sums:\n'
        #buf += self.checklist.properties['SRPMMD5sum'].value
        #for hashSum in self.checklist.properties['fileMD5s'].value:
        #    buf += hashSum
        return buf
    
    def footer(self):


Generated by  Doxygen 1.6.0   Back to index