server/sources/datafeed.py
branchstable
changeset 7641 790038f88b8b
parent 7443 c10164464afc
child 7642 64eee2a83bfa
equal deleted inserted replaced
7640:85ebdbbcb321 7641:790038f88b8b
    55           }),
    55           }),
    56 
    56 
    57         )
    57         )
    58     def __init__(self, repo, source_config, eid=None):
    58     def __init__(self, repo, source_config, eid=None):
    59         AbstractSource.__init__(self, repo, source_config, eid)
    59         AbstractSource.__init__(self, repo, source_config, eid)
    60         self.update_config(None, self.check_conf_dict(eid, source_config))
    60         self.update_config(None, self.check_conf_dict(eid, source_config,
       
    61                                                       fail_if_unknown=False))
    61 
    62 
    62     def check_config(self, source_entity):
    63     def check_config(self, source_entity):
    63         """check configuration of source entity"""
    64         """check configuration of source entity"""
    64         typedconfig = super(DataFeedSource, self).check_config(source_entity)
    65         typedconfig = super(DataFeedSource, self).check_config(source_entity)
    65         if typedconfig['synchronization-interval'] < 60:
    66         if typedconfig['synchronization-interval'] < 60: