Replace invlaid type (list) by dict in detector.py
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
parent
9879e52da3
commit
a95e295772
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user