Exemple #1
0
def compute_md5():
    released = paver.path.path(INSTALLERS_DIR).listdir()
    checksums = []
    for f in released:
        m = md5.md5(open(f, 'r').read())
        checksums.append('%s  %s' % (m.hexdigest(), f))

    return checksums
Exemple #2
0
def compute_md5():
    released = paver.path.path(INSTALLERS_DIR).listdir()
    checksums = []
    for f in released:
        m = md5.md5(open(f, "r").read())
        checksums.append("%s  %s" % (m.hexdigest(), f))

    return checksums
Exemple #3
0
def compute_md5():
    released = paver.path.path(options.installers.installersdir).listdir()
    checksums = []
    for f in released:
        if not f.endswith('DS_Store'):
            m = md5.md5(open(f, 'r').read())
            checksums.append('%s  %s' % (m.hexdigest(), f))

    return checksums
Exemple #4
0
def compute_md5():
    released = paver.path.path(options.installers.installersdir).listdir()
    checksums = []
    for f in released:
        if not f.endswith('DS_Store'):
            m = md5.md5(open(f, 'r').read())
            checksums.append('%s  %s' % (m.hexdigest(), f))

    return checksums