quote bug in split-args-fsm fixed

master
Stefan Krulj 14 years ago
parent b23cdd2552
commit 6712b6c594
  1. 5
      sys/util.py

@ -31,8 +31,9 @@ def split_args(txt):
if split_args_state==SA_S0:
if c=='"':
split_args_state = SA_QUOT
args.append(current)
current = u""
if len(current)!=0:
args.append(current)
current = u""
elif c in " \t\n":
if len(current)!=0:
args.append(current)

Loading…
Cancel
Save