diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-12-22 14:38:48 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-12-27 12:52:44 -0800 |
commit | 08dda117857f9e472e9ae5cdac035e5ee42dfb0a (patch) | |
tree | c57ca002212fba6e8ee2c00984e9d66ed72c4654 /alot/ui.py | |
parent | b9d102d084b13d3498beb768707dae9b01eb02a4 (diff) |
ui: Use xrange instead of range
They are the same, except xrange returns an iterator instead of a list.
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -308,7 +308,7 @@ class UI(object): edit_text=text, history=history, on_error=cerror) - for _ in range(tab): # hit some tabs + for _ in xrange(tab): # hit some tabs editpart.keypress((0,), 'tab') # build promptwidget |