third_party.pylibs.pylint.src/pylint/test/regrtest_data/application_crash.py

13 lines
427 B
Python
Raw Normal View History

2006-04-26 10:48:09 +00:00
class ErudiPublisher:
def __init__(self, config):
self.url_resolver = self.select_component('urlpublisher')
def select_component(self, cid, *args, **kwargs):
try:
return self.select(self.registry_objects('components', cid), *args, **kwargs)
except NoSelectableObject:
return
def main_publish(self, path, req):
ctrlid = self.url_resolver.process(req, path)