Mercurial > urwid-satext
comparison examples/file_dialog.py @ 66:287ff3e1edd1
removed trailing spaces
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 21 Dec 2013 16:51:14 +0100 |
parents | 585302e84c1f |
children |
comparison
equal
deleted
inserted
replaced
65:090f3e0754d3 | 66:287ff3e1edd1 |
---|---|
29 raise urwid.ExitMainLoop() | 29 raise urwid.ExitMainLoop() |
30 | 30 |
31 def cancel_cb(control): | 31 def cancel_cb(control): |
32 """This callback is called when user cancelled the dialog""" | 32 """This callback is called when user cancelled the dialog""" |
33 raise urwid.ExitMainLoop() | 33 raise urwid.ExitMainLoop() |
34 | 34 |
35 def test_quit(input): | 35 def test_quit(input): |
36 """We leave if user press 'esc'""" | 36 """We leave if user press 'esc'""" |
37 if input in ('esc',): | 37 if input in ('esc',): |
38 raise urwid.ExitMainLoop() | 38 raise urwid.ExitMainLoop() |
39 | 39 |