Fix for an issue where False value was displayed for --is.. switches

This commit is contained in:
Miroslav Stampar 2012-07-10 10:31:14 +02:00
parent ea77e7d9d1
commit e7f78bf04f

View File

@ -74,7 +74,7 @@ class Dump:
def string(self, header, data, sort=True):
if isListLike(data):
self.lister(header, data, sort)
elif data:
elif data is not None:
data = getUnicode(data)
if data[-1] == '\n':