whitespace and remove duplicated function
This commit is contained in:
parent
c35ebedfc2
commit
a6b4679c1f
10
terminator
10
terminator
|
@ -1012,6 +1012,7 @@ class Terminator:
|
||||||
else:
|
else:
|
||||||
widget.reparent (pane)
|
widget.reparent (pane)
|
||||||
parent.pack2 (pane, True, True)
|
parent.pack2 (pane, True, True)
|
||||||
|
|
||||||
if pos in ("top", "left"):
|
if pos in ("top", "left"):
|
||||||
pane.remove(widget)
|
pane.remove(widget)
|
||||||
pane.pack1 (terminal, True, True)
|
pane.pack1 (terminal, True, True)
|
||||||
|
@ -1328,15 +1329,6 @@ class Terminator:
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
def execute_cb (option, opt, value, parser):
|
|
||||||
assert value is None
|
|
||||||
value = []
|
|
||||||
while parser.rargs:
|
|
||||||
arg = parser.rargs[0]
|
|
||||||
value.append (arg)
|
|
||||||
del (parser.rargs[0])
|
|
||||||
setattr(parser.values, option.dest, value)
|
|
||||||
|
|
||||||
def execute_cb (option, opt, value, parser):
|
def execute_cb (option, opt, value, parser):
|
||||||
assert value is None
|
assert value is None
|
||||||
value = []
|
value = []
|
||||||
|
|
Loading…
Reference in New Issue