Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
HOTFIX: add missing noop param to add_bugs_with_retry
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoalessio committed Sep 7, 2020
1 parent 632cc4f commit 118fa53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elliottlib/errata.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def parse_exception_error_message(e):
return [int(b.split('#')[1]) for b in re.findall(r'Bug #[0-9]*', str(e))]


def add_bugs_with_retry(advisory, bugs, retried=False):
def add_bugs_with_retry(advisory, bugs, retried=False, noop=False):
"""
adding specified bugs into advisory, retry 2 times: first time
parse the exception message to get failed bug id list, remove from original
Expand Down Expand Up @@ -422,7 +422,7 @@ def add_bugs_with_retry(advisory, bugs, retried=False):
block_list = parse_exception_error_message(e)
retry_list = [x for x in bugs if x not in block_list]
if len(retry_list) > 0:
add_bugs_with_retry(advisory, retry_list, retried=True)
add_bugs_with_retry(advisory, retry_list, retried=True, noop=noop)
else:
raise exceptions.ElliottFatalError(getattr(e, 'message', repr(e)))

Expand Down

0 comments on commit 118fa53

Please sign in to comment.