Skip to content

Commit 9f38783

Browse files
committed
Fixed a regression introduced into eff06db where typed commands were not properly tokenized when using tabs instead of spaces.
1 parent 1f38de8 commit 9f38783

File tree

1 file changed

+1
-1
lines changed
  • addons/source-python/packages/source-python/core

1 file changed

+1
-1
lines changed

Diff for: addons/source-python/packages/source-python/core/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def __init__(self, infile, *args, **kwargs):
184184
class Tokenize(list):
185185
"""Parses the arguments from the given string."""
186186

187-
_pattern = re_compile('"[^"]*"|[^ ]+')
187+
_pattern = re_compile(r'"[^"]*"|[^ \t]+')
188188

189189
def __init__(self, string, comment_prefix=None):
190190
"""Splits the arguments from the given string."""

0 commit comments

Comments
 (0)