From 232d62b3b7b5b947ccabedb5a8c58c7a81491860 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Mon, 27 Jan 2020 22:04:38 +0000 Subject: [PATCH] rename model -> dal for github --- my/coding/github.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/my/coding/github.py b/my/coding/github.py index 556a387..f188475 100644 --- a/my/coding/github.py +++ b/my/coding/github.py @@ -210,8 +210,8 @@ def iter_gdpr_events() -> Iterator[Res[Event]]: # TODO hmm. not good, need to be lazier?... @mcachew(paths.github.cache_dir, hashf=lambda dal: dal.sources) -def iter_backup_events(model=get_dal()) -> Iterator[Event]: - for d in model.events(): +def iter_backup_events(dal=get_dal()) -> Iterator[Event]: + for d in dal.events(): yield _parse_event(d)