Skip to content

Commit

Permalink
Add default value for compiledExclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
youngmit committed Feb 4, 2020
1 parent 6c5b86a commit 40dc929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions armi/bookkeeping/db/compareDB3.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def compareDatabases(
tolerance: float = 0.0,
) -> Optional[DiffResults]:

compiledExclusions = None
if exclusions is not None:
compiledExclusions = [re.compile(ex) for ex in exclusions]

Expand Down

0 comments on commit 40dc929

Please sign in to comment.