diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-03 18:01:43 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-03 18:01:43 +0000 |
commit | 17eb99eea718191b619277754bf15e6a7554d916 (patch) | |
tree | aa39d3583025b4a49f7492245981cd519c6855e9 /src/theme.py | |
parent | 43654505fb2efa3994081e68613e5bd8dd033660 (diff) | |
download | poezio-17eb99eea718191b619277754bf15e6a7554d916.tar.gz poezio-17eb99eea718191b619277754bf15e6a7554d916.tar.bz2 poezio-17eb99eea718191b619277754bf15e6a7554d916.tar.xz poezio-17eb99eea718191b619277754bf15e6a7554d916.zip |
python 3 only. Fixes all EncodingError bugs :))))
Diffstat (limited to 'src/theme.py')
-rw-r--r-- | src/theme.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/theme.py b/src/theme.py index 862a8655..e8100a62 100644 --- a/src/theme.py +++ b/src/theme.py @@ -1,5 +1,3 @@ -# -*- coding:utf-8 -*- -# # Copyright 2010 Le Coz Florent <louizatakk@fedoraproject.org> # # This file is part of Poezio. @@ -154,7 +152,7 @@ if __name__ == '__main__': s = curses.initscr() curses.start_color() curses.use_default_colors() - for i in xrange(80): + for i in range(80): s.attron(curses.color_pair(i)) s.addstr(str(i)) s.attroff(curses.color_pair(i)) |