Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After changes in ckan/ckan#7976 all plugins need to be instances of `p.SingletonPlugin`, they can't inherit from a base class that is an instance. eg move from this: ``` class TestRDFHarvester(p.SingletonPlugin): p.implements(IDCATRDFHarvester) def some_method(self): pass class TestRDFNullHarvester(TestRDFHarvester): p.implements(IDCATRDFHarvester) ``` To this ``` class BaseRDFHarvester(): def some_method(self): pass class TestRDFHarvester(p.SingletonPlugin, BaseRDFHarvester): p.implements(IDCATRDFHarvester) class TestRDFNullHarvester(TestRDFHarvester, BaseRDFHarvester): p.implements(IDCATRDFHarvester) ```
- Loading branch information