Skip to content

Commit b70748c

Browse files
committed
fix: installer breaks because of import six on d11afed
1 parent 67af28b commit b70748c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mysql/connector/constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"""Various MySQL constants and character sets
3030
"""
3131

32-
import six
3332
import ssl
3433
import warnings
3534

35+
from .catch23 import make_abc
3636
from .errors import ProgrammingError
3737
from .charsets import MYSQL_CHARACTER_SETS
3838

@@ -546,8 +546,8 @@ def SLAVE(self):
546546
return _obsolete_option("RefreshOption.SLAVE", "RefreshOption.REPLICA",
547547
RefreshOption.REPLICA)
548548

549-
550-
class RefreshOption(six.with_metaclass(RefreshOption_meta, _Constants)):
549+
@make_abc(RefreshOption_meta)
550+
class RefreshOption(_Constants):
551551
"""MySQL Refresh command options
552552
553553
Options used when sending the COM_REFRESH server command.

0 commit comments

Comments
 (0)