]> granicus.if.org Git - python/commitdiff
# The variable total is never used somehow. I think I had plans for
authorGuido van Rossum <guido@python.org>
Thu, 2 Jul 1998 22:17:28 +0000 (22:17 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 2 Jul 1998 22:17:28 +0000 (22:17 +0000)
# it but can't remember what.  Get rid of a comparison that breaks.

Tools/scripts/dutree.py

index 4cb9353239e433dc656314425697cc0c3eaa8a03..3098f2b6210d036dcfe92fceda129a09ba834325 100755 (executable)
@@ -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]`)