From: Guido van Rossum Date: Thu, 2 Jul 1998 22:17:28 +0000 (+0000) Subject: # The variable total is never used somehow. I think I had plans for X-Git-Tag: v1.5.2a1~351 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3bf2cd64b12dc0f858a70eda2f42e9670f695bb;p=thirdparty%2FPython%2Fcpython.git # 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. --- diff --git a/Tools/scripts/dutree.py b/Tools/scripts/dutree.py index 4cb9353239e4..3098f2b6210d 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]`)