# HG changeset patch # User Sylvain Thénault # Date 1442998796 -7200 # Node ID 58be5fe4a23248fee0f555cc80b2a36c08e0a49c # Parent 4f467683b8c99c3330dee826b425ae498f01c78a [datafeed] don't allow arbitrary kwargs on DatafeedParser initializer else they will be handled nicely by appobject base class, while we rather want an error in the case of a source parser (arguable). diff -r 4f467683b8c9 -r 58be5fe4a232 cubicweb/server/sources/datafeed.py --- a/cubicweb/server/sources/datafeed.py Wed Jul 01 08:53:29 2015 +0200 +++ b/cubicweb/server/sources/datafeed.py Wed Sep 23 10:59:56 2015 +0200 @@ -314,8 +314,8 @@ class DataFeedParser(AppObject): __registry__ = 'parsers' - def __init__(self, cnx, source, import_log=None, source_uris=None, moved_uris=None, **kwargs): - super(DataFeedParser, self).__init__(cnx, **kwargs) + def __init__(self, cnx, source, import_log=None, source_uris=None, moved_uris=None): + super(DataFeedParser, self).__init__(cnx) self.source = source self.import_log = import_log if source_uris is None: