minor fix for not displaying 'None' but None in enumeration when data unavailable

This commit is contained in:
Miroslav Stampar 2012-02-27 13:15:10 +00:00
parent a424de3102
commit 68e08d2749

View File

@ -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]