diff options
author | Guido van Rossum <guido@python.org> | 1998-07-02 22:17:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-02 22:17:28 (GMT) |
commit | b3bf2cd64b12dc0f858a70eda2f42e9670f695bb (patch) | |
tree | 6fdf2dd10710aad93e451a7445f071948306e30c /Tools/scripts/dutree.py | |
parent | 6bbd1d0f0efc4f7d766cb7d015e013fe96a1a362 (diff) | |
download | cpython-b3bf2cd64b12dc0f858a70eda2f42e9670f695bb.zip cpython-b3bf2cd64b12dc0f858a70eda2f42e9670f695bb.tar.gz cpython-b3bf2cd64b12dc0f858a70eda2f42e9670f695bb.tar.bz2 |
# 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.
Diffstat (limited to 'Tools/scripts/dutree.py')
-rwxr-xr-x | Tools/scripts/dutree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/dutree.py b/Tools/scripts/dutree.py index 4cb9353..3098f2b 100755 --- a/Tools/scripts/dutree.py +++ b/Tools/scripts/dutree.py @@ -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]`) |