def __init__(mcs, *args, **kwargs):
        # by default we key the cmdset the same as the
        # name of its class.
        if not hasattr(mcs, 'key') or not mcs.key:
            mcs.key = mcs.__name__
        mcs.path = "%s.%s" % (mcs.__module__, mcs.__name__)

        if not type(mcs.key_mergetypes) == dict:
            mcs.key_mergetypes = {}

        super(_CmdSetMeta, mcs).__init__(*args, **kwargs)
Fixes some things in the cmdclass
dataset/ETHPy150Open evennia/evennia/evennia/commands/cmdset.py/_CmdSetMeta.__init__