Commit 2cfac211 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #521670: Remove unused sys import.

parent d556b967
"""Simple textbox editing widget with Emacs-like keybindings."""
import sys, curses, ascii
import curses, ascii
def rectangle(win, uly, ulx, lry, lrx):
"Draw a rectangle."
......@@ -132,7 +132,6 @@ class Textbox:
for y in range(self.maxy+1):
self.win.move(y, 0)
stop = self._end_of_line(y)
#sys.stderr.write("y=%d, _end_of_line(y)=%d\n" % (y, stop))
if stop == 0 and self.stripspaces:
continue
for x in range(self.maxx+1):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment