graphcommons/graphcommons-python

GraphCommonsException includes deprecated Python 2 unicode() call

gregoryfoster opened this issue · 0 comments

graphcommons.py:127

if isinstance(message, unicode):
    message = message.encode("utf-8")  # Otherwise, it will not be printed.

In Python 3 environments, encountering a GraphCommonsException will generate a secondary uncaught NameError: name 'unicode' is not defined.