Skip to content

Bug in 1.3.0: name 'textwrapper' is not defined #27

Description

@pglira

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions