Include/exclude feature raises exception for Python3

Issue #16 new
Marco Heinemann
created an issue

It seems like the include and exclude CLI options do not work for Python3. See below, it uses string.strip which does not exist for Python3. Changing it to str.strip resolves the issue. It exists for Python2.7, too.

sadisplay -u <url> -r plantuml -e table1,table2,table3 > out.puml
Traceback (most recent call last):
  File "py35_venv/bin/sadisplay", line 11, in <module>
        File "py35_venv/lib/python3.5/site-packages/sadisplay/", line 83, in run
            tables -= set(map(string.strip, options.exclude.split(',')))
            AttributeError: module 'string' has no attribute 'strip'

Comments (1)

  1. Log in to comment