def __init__(self, name, label):
        if name in self.__class__._registry:
            raise Exception(
                'Namespace names must be unique; "%s" already exists.' % name
            )
        self.name = name
        self.label = label
        self.__class__._registry[name] = self
        self.settings = []
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/smart_settings/classes.py/Namespace.__init__/original