Replace invlaid type (list) by dict in detector.py

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
Václav Valíček 2022-08-09 20:34:09 +02:00
parent 9879e52da3
commit a95e295772
Signed by: valicek
GPG Key ID: FF05BDCA0C73BB31

View File

@ -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()