##// END OF EJS Templates
py3: iterate over a copy of dict while changing it...
Pulkit Goyal -
r37680:5340daa8 default
parent child Browse files
Show More
@@ -168,7 +168,7 b' def _terminfosetup(ui, mode, formatted):'
168 ui._terminfoparams.clear()
168 ui._terminfoparams.clear()
169 return
169 return
170
170
171 for key, (b, e, c) in ui._terminfoparams.items():
171 for key, (b, e, c) in ui._terminfoparams.copy().items():
172 if not b:
172 if not b:
173 continue
173 continue
174 if not c and not curses.tigetstr(e):
174 if not c and not curses.tigetstr(e):
General Comments 0
You need to be logged in to leave comments. Login now