mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s4-s3upgrade: Add my wins.dat and fix the parsing error
The issue was that the numbers at the end of the lines are space padded. Andrew Bartlett
This commit is contained in:
@ -304,7 +304,8 @@ def shellsplit(text):
|
||||
if c == "\"":
|
||||
inquotes = not inquotes
|
||||
elif c in ("\t", "\n", " ") and not inquotes:
|
||||
ret.append(current)
|
||||
if current != "":
|
||||
ret.append(current)
|
||||
current = ""
|
||||
else:
|
||||
current += c
|
||||
|
Reference in New Issue
Block a user