##// END OF EJS Templates
utils.data: Use list comprehension for uniq_stable()...
utils.data: Use list comprehension for uniq_stable() This should be faster than and explicit for loop. Also, a set makes more sense than a dict if we only care about values. After these changes, the resulting code is the same as Dave Kirby's uniqify() suggestion on Peter Bengtsson's blog [1]. [1]: http://www.peterbe.com/plog/uniqifiers-benchmark

File last commit:

r9190:20a102a5
r9249:8aaafe40
Show More
seteditor.py
15 lines | 113 B | text/x-python | PythonLexer
import os
editor = r'q:/opt/np/notepad++.exe'
e = os.environ
e['EDITOR'] = editor
e['VISUAL'] = editor