def _get_observer(self, observer=None): if observer is None: observer = observer_mod.repo_observer(observer_mod.null_output()) return observer
def _get_observer(self, observer=None): if observer is not None: return observer return _observer.null_output()