mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
Improve python3 compatibility in webconfig.py
This commit is contained in:
parent
1ba0bfd10c
commit
e0764bb25e
1 changed files with 174 additions and 174 deletions
|
@ -199,7 +199,7 @@ def ansi_to_html(val):
|
||||||
span_open = False
|
span_open = False
|
||||||
|
|
||||||
# Text is at even indexes, escape sequences at odd indexes
|
# Text is at even indexes, escape sequences at odd indexes
|
||||||
for i in xrange(len(separated)):
|
for i in range(len(separated)):
|
||||||
component = separated[i]
|
component = separated[i]
|
||||||
if i % 2 == 0:
|
if i % 2 == 0:
|
||||||
# It's text, possibly empty
|
# It's text, possibly empty
|
||||||
|
|
Loading…
Reference in a new issue