From 68e08d27497b84b678534dadcd881fd47fa8dc8b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 27 Feb 2012 13:15:10 +0000 Subject: [PATCH] minor fix for not displaying 'None' but None in enumeration when data unavailable --- lib/core/dump.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/core/dump.py b/lib/core/dump.py index bfab601dd..6b587f7b9 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -88,10 +88,8 @@ class Dump: return - data = getUnicode(data) - if data: - data = self._formatString(data) + data = self._formatString(getUnicode(data)) if data[-1] == '\n': data = data[:-1]