s4-s3upgrade: Add my wins.dat and fix the parsing error
[samba.git] / source4 / scripting / python / samba / samba3 / __init__.py
index a955be1a735f29c43c39be825f9cc2cdc3d3927e..14db90ac51a085df8ffb7b83edbc902843ab3071 100644 (file)
@@ -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