Fixed another splitting bug
This commit is contained in:
parent
d589823f4a
commit
0a9a1db942
|
@ -166,8 +166,7 @@ class BaseCommand(object):
|
|||
result = re.split(r"(?<!\\) ", text)
|
||||
for i, s in enumerate(result):
|
||||
result[i] = s.replace(r'\ ', ' ')
|
||||
if result == ['']:
|
||||
result = []
|
||||
result = filter(lambda s: s != '', result)
|
||||
return result
|
||||
|
||||
def create_parser(self):
|
||||
|
|
Loading…
Reference in New Issue