fix over.cmd.Command.dump not quoting empty strings
This commit is contained in:
parent
b083fbc384
commit
b7c3ca3e02
2 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,7 @@ class Command:
|
|||
out.append(str(item))
|
||||
|
||||
if pretty:
|
||||
return [('"%s"' %(a) if char_in_str(" $()[];\\", a) else a) for a in out]
|
||||
return [('"%s"' %(a) if (not a or char_in_str(" $()[];\\", a)) else a) for a in out]
|
||||
else:
|
||||
return out
|
||||
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
major = 2 # VERSION_MAJOR_IDENTIFIER
|
||||
minor = 1 # VERSION_MINOR_IDENTIFIER
|
||||
# VERSION_LAST_MM 2.1
|
||||
patch = 7 # VERSION_PATCH_IDENTIFIER
|
||||
str = "2.1.7" # VERSION_STRING_IDENTIFIER
|
||||
patch = 8 # VERSION_PATCH_IDENTIFIER
|
||||
str = "2.1.8" # VERSION_STRING_IDENTIFIER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue