# HG changeset patch # User RhodeCode Admin # Date 2023-03-20 18:49:34 # Node ID 5ee395cb248c88834cffeed262b812e52f28c840 # Parent 21ca2ee2b43daf97422334ac0df31f2de9e9ddc6 action-parser: fixed filter call diff --git a/rhodecode/lib/action_parser.py b/rhodecode/lib/action_parser.py --- a/rhodecode/lib/action_parser.py +++ b/rhodecode/lib/action_parser.py @@ -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