Remove __unicode__ magic methods no longer needed

This commit is contained in:
Griatch 2019-01-30 23:50:43 +01:00
parent c3df77b678
commit 7a535b35fa
8 changed files with 10 additions and 29 deletions

View file

@ -852,11 +852,6 @@ class EvCell(object):
def __str__(self):
"returns cell contents on string form"
self.formatted = self._reformat()
return str(str(ANSIString("\n").join(self.formatted)))
def __unicode__(self):
"returns cell contents"
self.formatted = self._reformat()
return str(ANSIString("\n").join(self.formatted))
@ -1635,9 +1630,6 @@ class EvTable(object):
# h = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
return str(str(ANSIString("\n").join([line for line in self._generate_lines()])))
def __unicode__(self):
return str(ANSIString("\n").join([line for line in self._generate_lines()]))
def _test():
"""Test"""