equal
deleted
inserted
replaced
1456 def is_multi_sources_relation(self, rtype): |
1456 def is_multi_sources_relation(self, rtype): |
1457 return any(source for source in self.sources |
1457 return any(source for source in self.sources |
1458 if not source is self.system_source |
1458 if not source is self.system_source |
1459 and source.support_relation(rtype)) |
1459 and source.support_relation(rtype)) |
1460 |
1460 |
|
1461 # these are overridden by set_log_methods below |
|
1462 # only defining here to prevent pylint from complaining |
|
1463 info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None |
1461 |
1464 |
1462 def pyro_unregister(config): |
1465 def pyro_unregister(config): |
1463 """unregister the repository from the pyro name server""" |
1466 """unregister the repository from the pyro name server""" |
1464 from logilab.common.pyro_ext import ns_unregister |
1467 from logilab.common.pyro_ext import ns_unregister |
1465 appid = config['pyro-instance-id'] or config.appid |
1468 appid = config['pyro-instance-id'] or config.appid |