def disable(self):
        """disable the patch. Do NOT disable dependencies."""
        if self.enabled:
            self.do_disable()
            self.enabled = False
disable the patch. Do NOT disable dependencies.
lib/mlpatches/base.py