Minor patch

This commit is contained in:
Miroslav Stampar
2019-11-28 00:29:42 +01:00
parent 989915b91c
commit 7731c6c135
3 changed files with 11 additions and 13 deletions

View File

@@ -137,8 +137,6 @@ class Dump(object):
self._write("%s:\n---\n%s\n---" % (header, _))
else:
self._write("%s: %s" % (header, ("'%s'" % _) if isinstance(data, six.string_types) else _))
else:
self._write("%s:\tNone" % header)
def lister(self, header, elements, content_type=None, sort=True):
if elements and sort: