summaryrefslogtreecommitdiffstats
path: root/bin/md5check.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-12 10:08:12 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-12 10:08:12 +0000
commit6644136bd4770b2d97241a3a991e2fffa503bc4c (patch)
treee6bc8d2e2180ee26902e1c8e6a7df4b6e51904cd /bin/md5check.py
parentbb3df52fc7a229ec33c2c6b05a2142fb76bb62ef (diff)
downloadportage-6644136bd4770b2d97241a3a991e2fffa503bc4c.tar.gz
portage-6644136bd4770b2d97241a3a991e2fffa503bc4c.tar.bz2
portage-6644136bd4770b2d97241a3a991e2fffa503bc4c.zip
Fix a typo.
svn path=/main/trunk/; revision=5606
Diffstat (limited to 'bin/md5check.py')
-rwxr-xr-xbin/md5check.py8
1 files changed, 2 insertions, 6 deletions
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))