CharacterSet.get_desc fails

Bug #567554 reported by Geert JM Vanderkelen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
Fix Released
Low
Geert JM Vanderkelen

Bug Description

>>> constants.CharacterSet.get_desc(33)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/geert/Projects/myconnpy/myconnpy-dev/mysql/connector/constants.py", line 629, in get_desc
    return "%s/%s" % self.get_info(setid)
NameError: global name 'self' is not defined

Fix: cls.get_info(setid)

Tags: constants

Related branches

Changed in myconnpy:
status: In Progress → Fix Committed
Changed in myconnpy:
milestone: none → 0.1.4
Changed in myconnpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.