(file='*', print_=True)
return out
Print the md5 sums of the release files
Print the md5 sums of the release files
Print the md5 sums of the release files
def md5(file='*', print_=True):
    """
    Print the md5 sums of the release files
    """
    out = local("md5sum release/" + file, capture=True)
    # Remove the release/ part for printing. Useful for copy-pasting into the
    # release notes.
    out = [i.split() for i in out.strip().split('\n')]
    out = '\n'.join(["%s\t%s" % (i, os.path.split(j)[1]) for i, j in out])
    if print_:
        print(out)
    return out
def md5 ( file = '*' , print_ = True ) : out = local ( "md5sum release/" + file , capture = True ) # Remove the release/ part for printing. Useful for copy-pasting into the # release notes. out = [ i . split ( ) for i in out . strip ( ) . split ( '\n' ) ] out = '\n' . join ( [ "%s\t%s" % ( i , os . path . split ( j ) [ 1 ] ) for i , j in out ] ) if print_ : print ( out ) return out