From a95e295772be715c5d3790eb0f7100008b1a243a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek?= Date: Tue, 9 Aug 2022 20:34:09 +0200 Subject: [PATCH] Replace invlaid type (list) by dict in detector.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Václav Valíček --- repo_cloner/lib/detector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repo_cloner/lib/detector.py b/repo_cloner/lib/detector.py index 8398e95..5feb36f 100644 --- a/repo_cloner/lib/detector.py +++ b/repo_cloner/lib/detector.py @@ -174,10 +174,10 @@ class Detector: log.info(f"Running commit detector") new_branches = self._repo.list_branches() if not new_branches: - new_branches = [] + new_branches = {} new_tags = self._repo.list_tags() if not new_tags: - new_tags = [] + new_tags = {} # remove removed old_keys = self._branches.keys()