minor enhancement for dumping 'None' values (proper way should be empty string because None is too pythonic)

This commit is contained in:
Miroslav Stampar 2011-05-12 12:00:17 +00:00
parent c64eb38a8b
commit 70688fb8b5

View File

@ -414,6 +414,9 @@ class Dump:
if len(info["values"]) <= i:
continue
if info["values"][i] is None:
value = u''
else:
value = getUnicode(info["values"][i])
if re.search("^[\ *]*$", value):