parent
fe81063b60
commit
1f151bea64
1
test.py
1
test.py
@ -102,7 +102,6 @@ class VimInterfaceScreen(VimInterface):
|
|||||||
repl = lambda m: '\\' + m.group(0)
|
repl = lambda m: '\\' + m.group(0)
|
||||||
s = re.sub( r"[$^#\\']", repl, s )
|
s = re.sub( r"[$^#\\']", repl, s )
|
||||||
|
|
||||||
# Escape single quotes in command to protect from shell
|
|
||||||
if sys.version_info >= (3,0):
|
if sys.version_info >= (3,0):
|
||||||
s = s.encode("utf-8")
|
s = s.encode("utf-8")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user