We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb2a5fc commit aa8213bCopy full SHA for aa8213b
1 file changed
pythonbits/submission.py
@@ -34,7 +34,8 @@ def __init__(cls, name, bases, attrs):
34
{'mappers': {}, 'types': {}}))
35
36
if hasattr(cls, '_cat_id'):
37
- cat_map[cls._cat_id] = cls
+ if cls._cat_id not in cat_map:
38
+ cat_map[cls._cat_id] = cls
39
40
def add_mapper(f, ff, fft):
41
log.debug("{} adding mapper {} for {} ({})",
0 commit comments