action-parser: fixed filter call

This commit is contained in:
RhodeCode Admin 2023-03-20 19:49:34 +01:00
parent 41829bab5f
commit 2481371b8b

View file

@ -244,7 +244,7 @@ class ActionParser(object):
def get_commits(self, commit_ids):
commits = []
if not filter(lambda v: v != '', commit_ids):
if not [v for v in commit_ids if v != '']:
return commits
repo = None