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