We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0606aaa commit 8cd2806Copy full SHA for 8cd2806
gssapi/raw/misc.pyx
@@ -2,8 +2,6 @@ GSSAPI="BASE" # This ensures that a full module is generated by Cython
2
3
import locale # for decoding error messages
4
5
-import six
6
-
7
from gssapi.raw.cython_types cimport *
8
from gssapi.raw.cython_converters cimport c_create_oid_set
9
from gssapi.raw.names cimport Name
@@ -218,8 +216,7 @@ class GSSErrorRegistry(type):
218
216
219
217
# NB(directxman12): this needs to be here (and not in another file)
220
# so that display_status can use it
221
-@six.add_metaclass(GSSErrorRegistry)
222
-class GSSError(Exception):
+class GSSError(Exception, metaclass=GSSErrorRegistry):
223
"""
224
GSSAPI Error
225
0 commit comments