From 6644136bd4770b2d97241a3a991e2fffa503bc4c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 12 Jan 2007 10:08:12 +0000 Subject: Fix a typo. svn path=/main/trunk/; revision=5606 --- bin/md5check.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bin/md5check.py') diff --git a/bin/md5check.py b/bin/md5check.py index 081495531..359a0bf00 100755 --- a/bin/md5check.py +++ b/bin/md5check.py @@ -10,11 +10,7 @@ try: except ImportError: sys.path.insert(0, "/usr/lib/portage/pym") import portage -from threading import * -from output import red,green,blue,bold -from random import shuffle -from time import sleep - +import portage_util def cstrip(mystr,mychars): newstr = "" @@ -80,7 +76,7 @@ for mycpv in hugelist: # This associates teh md5 with each file. [md5/size] md5joins = md5_list[mybn][2].split(",") - md5joins = " ["+md5_list[mybn][0]+"/"+md5_list[mybn][1]+"],".join(md5joins)) + md5joins = (" ["+md5_list[mybn][0]+"/"+md5_list[mybn][1]+"],").join(md5joins) md5joins += " ["+md5_list[mybn][0]+"/"+md5_list[mybn][1]+"]" portage.writemsg("Colliding md5: %s of %s [%s/%s] and %s\n" % (mybn,mycpv,md5sums[mybn][0],md5sums[mybn][1],md5joins)) -- cgit v1.2.3-1-g7c22