summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-04-18 03:53:29 (GMT)
committerBarry Warsaw <barry@python.org>2001-04-18 03:53:29 (GMT)
commit2720d380e94bb7dbbd867b04131e8d9334834d72 (patch)
treeb4d2f7da1297340f14dca0b025806b513f8cf3ac
parent31c2dae39c8d59a874a77bd8c5acee2d918efd38 (diff)
downloadcpython-2720d380e94bb7dbbd867b04131e8d9334834d72.zip
cpython-2720d380e94bb7dbbd867b04131e8d9334834d72.tar.gz
cpython-2720d380e94bb7dbbd867b04131e8d9334834d72.tar.bz2
update_yourself(): Removed unused local variable reported by
PyChecker.
-rw-r--r--Tools/pynche/ListViewer.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tools/pynche/ListViewer.py b/Tools/pynche/ListViewer.py
index 43d9923..4b67629 100644
--- a/Tools/pynche/ListViewer.py
+++ b/Tools/pynche/ListViewer.py
@@ -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