summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-06-01 14:09:49 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-03-01 10:34:56 -0800
commit34d1a0863ce13d3b42d11b15898e259eb39a094f (patch)
tree7e4fe88764772184a1ccccf12d277dd63b312260 /alot/ui.py
parent0dcb8ad0e829fddea92c5a76e2849e55617f7825 (diff)
replace xrange with range
In python 3 xrange is range, to get a list one must wrap range in list.
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 44cd1782..3c256865 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -329,7 +329,7 @@ class UI(object):
edit_text=text, history=history,
on_error=cerror)
- for _ in xrange(tab): # hit some tabs
+ for _ in range(tab): # hit some tabs
editpart.keypress((0,), 'tab')
# build promptwidget