summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/dutree.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-17 09:13:33 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-17 09:13:33 (GMT)
commit79b334ba55f3d0ab7e8f453fe1948f609a3fc6e0 (patch)
tree94070cf4c86d9819a1d59e6f316d19f08326f12d /Tools/scripts/dutree.py
parent78542ef830e53bbb505cf83acc75697121b756cc (diff)
downloadcpython-79b334ba55f3d0ab7e8f453fe1948f609a3fc6e0.zip
cpython-79b334ba55f3d0ab7e8f453fe1948f609a3fc6e0.tar.gz
cpython-79b334ba55f3d0ab7e8f453fe1948f609a3fc6e0.tar.bz2
Hand repair of cases where reindent changed lines of the form
\t\t\t\t\treal code ##\t\t\t\t\tunused code \t\t\t\t\treal code via untabifying and shifting the real code left. Semantically the same but made the intent of the commented-out-in-column-0 unused code unclear. The exact same unused code appears to have gotten copied from file to file over the years.
Diffstat (limited to 'Tools/scripts/dutree.py')
-rwxr-xr-xTools/scripts/dutree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/dutree.py b/Tools/scripts/dutree.py
index 63b3e67..7a32533 100755
--- a/Tools/scripts/dutree.py
+++ b/Tools/scripts/dutree.py
@@ -42,8 +42,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]`)