Properly escape locations on windows.
This commit is contained in:
commit
b6d545ecdf
@ -42,7 +42,7 @@ def _ask_snippets(snippets):
|
|||||||
want to use, and return it.
|
want to use, and return it.
|
||||||
"""
|
"""
|
||||||
display = [as_unicode("%i: %s (%s)") % (i+1, escape(s.description, '\\'),
|
display = [as_unicode("%i: %s (%s)") % (i+1, escape(s.description, '\\'),
|
||||||
s.location) for i, s in enumerate(snippets)]
|
escape(s.location, '\\')) for i, s in enumerate(snippets)]
|
||||||
return _ask_user(snippets, display)
|
return _ask_user(snippets, display)
|
||||||
|
|
||||||
def err_to_scratch_buffer(func):
|
def err_to_scratch_buffer(func):
|
||||||
|
Loading…
Reference in New Issue
Block a user