comparing multiple copies of terrabytes of data?

Josiah Carlson jcarlson at uci.edu
Tue Oct 26 12:21:38 EDT 2004


Josiah Carlson wrote:
>     for dig in digs:
>         if dig != m.update(f2.read(b)).digest():
>             print "files 1 and 2 differ before", f2.tell()
>             good = 0
>             break
>     m = mn()
>     for dig in digs:
>         if dig != m.update(f3.read(b)).digest():
>             print "files 1 and 2 differ before", f3.tell()
Oops, copy/paste bug.      ^^^^^^^
Should be:
            print "files 1 and 3 differ before", f3.tell()

 - Josiah




More information about the Python-list mailing list