mirror of
https://github.com/python/cpython.git
synced 2024-11-29 12:54:02 +08:00
# The variable total is never used somehow. I think I had plans for
# it but can't remember what. Get rid of a comparison that breaks.
This commit is contained in:
parent
6bbd1d0f0e
commit
b3bf2cd64b
@ -38,8 +38,8 @@ def show(total, d, prefix):
|
||||
tsub, dsub = d[key]
|
||||
list.append((tsub, key))
|
||||
if tsub is not None: sum = sum + tsub
|
||||
if sum < total:
|
||||
list.append((total - sum, os.curdir))
|
||||
## if sum < total:
|
||||
## list.append((total - sum, os.curdir))
|
||||
list.sort()
|
||||
list.reverse()
|
||||
width = len(`list[0][0]`)
|
||||
|
Loading…
Reference in New Issue
Block a user