use verbose instance type

This commit is contained in:
Darren Ranalli 2006-06-23 21:21:00 +00:00
parent 6f3e0b21ca
commit 2360220a99

View File

@ -169,7 +169,7 @@ class GarbageReport(TaskThreaded):
if len(objStr) > maxLen: if len(objStr) > maxLen:
snip = '<SNIP>' snip = '<SNIP>'
objStr = '%s%s' % (objStr[:(maxLen-len(snip))], snip) objStr = '%s%s' % (objStr[:(maxLen-len(snip))], snip)
self.s.append(self.format % (id, type(self.parent.garbage[id]), objStr)) self.s.append(self.format % (id, itype(self.parent.garbage[id]), objStr))
if (not (i & 0x7F)) and (not self.timeLeft()): if (not (i & 0x7F)) and (not self.timeLeft()):
# we've run out of time, save the index # we've run out of time, save the index
self.index = i+1 self.index = i+1