def addComponent(self, component):
        # Store weakref link to components, so they can be reached from all other components
        # as a flat list, where the selector is the key.
        selector = component.selector
        if component.id == selector and self._components.has_key(selector):
            print selector % '### Warning ### Multiple components with id "%d" defined.'
        if not self._components.has_key(selector):
            self._components[selector] = []
        self._components[selector].append(weakref.ref(component))
dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/descriptors/environment.py/Environment.addComponent/swapped operands of `%`