]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
update_yourself(): Removed unused local variable reported by
authorBarry Warsaw <barry@python.org>
Wed, 18 Apr 2001 03:53:29 +0000 (03:53 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 18 Apr 2001 03:53:29 +0000 (03:53 +0000)
PyChecker.

Tools/pynche/ListViewer.py

index 43d9923ff40e9a85030adb6fa0e51a879194fcf0..4b67629bdb253042bfcecc36e1e203496da8edb4 100644 (file)
@@ -162,7 +162,6 @@ class ListViewer:
         if self.__dontcenter:
             self.__dontcenter = 0
         else:
-            height = canvas['height']
             ig, ig, ig, y1 = canvas.coords(colortag)
             ig, ig, ig, y2 = canvas.coords(self.__bboxes[-1])
             h = int(canvas['height']) * 0.5