Skip to content

Commit b3bf2cd

Browse files
committed
# 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.
1 parent 6bbd1d0 commit b3bf2cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/scripts/dutree.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def show(total, d, prefix):
3838
tsub, dsub = d[key]
3939
list.append((tsub, key))
4040
if tsub is not None: sum = sum + tsub
41-
if sum < total:
42-
list.append((total - sum, os.curdir))
41+
## if sum < total:
42+
## list.append((total - sum, os.curdir))
4343
list.sort()
4444
list.reverse()
4545
width = len(`list[0][0]`)

0 commit comments

Comments
 (0)