Permalink
Browse files

shlex shouldn't parse out comments, closes #1269

  • Loading branch information...
1 parent cb50110 commit 84910f5f49e18aa2f2819cabe6fa1fa6227f0b51 @ivanov committed Jan 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 IPython/utils/_process_common.py
@@ -175,6 +175,7 @@ def arg_split(s, posix=False, strict=True):
# and it shouldn't raise an exception.
# It may be a bad idea to parse things that are not command-line args
# through this function, but we do, so let's be safe about it.
+ lex.commenters='' #fix for GH-1269
tokens = []
while True:
try:

0 comments on commit 84910f5

Please sign in to comment.