server/sources/datafeed.py
changeset 7642 64eee2a83bfa
parent 7590 a9aad6c25836
parent 7641 790038f88b8b
child 7697 ef50074a0314
equal deleted inserted replaced
7639:5c9e94a09e97 7642:64eee2a83bfa
    64           }),
    64           }),
    65 
    65 
    66         )
    66         )
    67     def __init__(self, repo, source_config, eid=None):
    67     def __init__(self, repo, source_config, eid=None):
    68         AbstractSource.__init__(self, repo, source_config, eid)
    68         AbstractSource.__init__(self, repo, source_config, eid)
    69         self.update_config(None, self.check_conf_dict(eid, source_config))
    69         self.update_config(None, self.check_conf_dict(eid, source_config,
       
    70                                                       fail_if_unknown=False))
    70 
    71 
    71     def check_config(self, source_entity):
    72     def check_config(self, source_entity):
    72         """check configuration of source entity"""
    73         """check configuration of source entity"""
    73         typedconfig = super(DataFeedSource, self).check_config(source_entity)
    74         typedconfig = super(DataFeedSource, self).check_config(source_entity)
    74         if typedconfig['synchronization-interval'] < 60:
    75         if typedconfig['synchronization-interval'] < 60: