mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ def show(total, d, prefix):
|
||||||
tsub, dsub = d[key]
|
tsub, dsub = d[key]
|
||||||
list.append((tsub, key))
|
list.append((tsub, key))
|
||||||
if tsub is not None: sum = sum + tsub
|
if tsub is not None: sum = sum + tsub
|
||||||
if sum < total:
|
## if sum < total:
|
||||||
list.append((total - sum, os.curdir))
|
## list.append((total - sum, os.curdir))
|
||||||
list.sort()
|
list.sort()
|
||||||
list.reverse()
|
list.reverse()
|
||||||
width = len(`list[0][0]`)
|
width = len(`list[0][0]`)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue