tests/md5sum.py
changeset 6212 e75aab656f46
parent 4122 306055f5b65c
child 6470 ac0bcd951c2c
equal deleted inserted replaced
6211:f89fd07fc51d 6212:e75aab656f46
     5 # This software may be used and distributed according to the terms
     5 # This software may be used and distributed according to the terms
     6 # of the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2, which is
     6 # of the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2, which is
     7 # GPL-compatible.
     7 # GPL-compatible.
     8 
     8 
     9 import sys
     9 import sys
    10 import os
       
    11 import md5
    10 import md5
    12 
    11 
    13 for filename in sys.argv[1:]:
    12 for filename in sys.argv[1:]:
    14     try:
    13     try:
    15         fp = open(filename, 'rb')
    14         fp = open(filename, 'rb')