python-texttable icon indicating copy to clipboard operation
python-texttable copied to clipboard

Bug in 1.3.0: name 'textwrapper' is not defined

Open pglira opened this issue 7 years ago • 0 comments

Moving from 1.2.1 to 1.3.0 this bug appeared:

  File "/opt/OHLI/miniconda/envs/OHLI/lib/python3.6/site-packages/texttable.py", line 383, in draw
    out += self._draw_line(self._header, isheader=True)
  File "/opt/OHLI/miniconda/envs/OHLI/lib/python3.6/site-packages/texttable.py", line 621, in _draw_line
    line = self._splitit(line, isheader)
  File "/opt/OHLI/miniconda/envs/OHLI/lib/python3.6/site-packages/texttable.py", line 660, in _splitit
    array.extend(textwrapper(c, width))
NameError: name 'textwrapper' is not defined

I switched back to 1.2.1 where everything works fine as usual.

pglira avatar Jun 12 '18 07:06 pglira