Patch #521670: Remove unused sys import.
This commit is contained in:
parent
9f4341b3b0
commit
9d51fc8972
|
@ -1,6 +1,6 @@
|
||||||
"""Simple textbox editing widget with Emacs-like keybindings."""
|
"""Simple textbox editing widget with Emacs-like keybindings."""
|
||||||
|
|
||||||
import sys, curses, ascii
|
import curses, ascii
|
||||||
|
|
||||||
def rectangle(win, uly, ulx, lry, lrx):
|
def rectangle(win, uly, ulx, lry, lrx):
|
||||||
"Draw a rectangle."
|
"Draw a rectangle."
|
||||||
|
@ -132,7 +132,6 @@ class Textbox:
|
||||||
for y in range(self.maxy+1):
|
for y in range(self.maxy+1):
|
||||||
self.win.move(y, 0)
|
self.win.move(y, 0)
|
||||||
stop = self._end_of_line(y)
|
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:
|
if stop == 0 and self.stripspaces:
|
||||||
continue
|
continue
|
||||||
for x in range(self.maxx+1):
|
for x in range(self.maxx+1):
|
||||||
|
|
Loading…
Reference in New Issue