From b3bf2cd64b12dc0f858a70eda2f42e9670f695bb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 2 Jul 1998 22:17:28 +0000 Subject: [PATCH] # 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. --- Tools/scripts/dutree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/scripts/dutree.py b/Tools/scripts/dutree.py index 4cb9353239e..3098f2b6210 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]`)