def register_defect(self, obj, defect):
        obj.defects.append(defect)
Base middleware constructor
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/email/_policybase.py/Policy.register_defect--crossover with--dataset/ETHPy150Open openstack/oslo.middleware/oslo_middleware/base.py/ConfigurableMiddleware.__init__