##// END OF EJS Templates
shlex shouldn't parse out comments, closes #1269
Paul Ivanov -
Show More
@@ -175,6 +175,7 b' def arg_split(s, posix=False, strict=True):'
175 # and it shouldn't raise an exception.
175 # and it shouldn't raise an exception.
176 # It may be a bad idea to parse things that are not command-line args
176 # It may be a bad idea to parse things that are not command-line args
177 # through this function, but we do, so let's be safe about it.
177 # through this function, but we do, so let's be safe about it.
178 lex.commenters='' #fix for GH-1269
178 tokens = []
179 tokens = []
179 while True:
180 while True:
180 try:
181 try:
General Comments 0
You need to be logged in to leave comments. Login now