From e7f78bf04f551a974d48b7b943e9050e9e8002d4 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 10 Jul 2012 10:31:14 +0200 Subject: [PATCH] Fix for an issue where False value was displayed for --is.. switches --- lib/core/dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/dump.py b/lib/core/dump.py index 9c569adf4..9deec738f 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -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':