Skip to content

Commit

Permalink
Merge pull request #7486 from ggbecker/fix-up-fix_rules-script
Browse files Browse the repository at this point in the history
Fix up for the fix_rules.py script in add-cce command
  • Loading branch information
matejak authored Aug 30, 2021
2 parents 9a01c85 + 93b8241 commit 59b0c27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ssg/cce.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import re
import random
import os


CCE_POOLS = dict()
Expand Down
2 changes: 1 addition & 1 deletion utils/fix_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def fix_file_prompt(path, product_yaml, func, args):

def add_cce(args, product_yaml):
directory = os.path.join(args.root, args.subdirectory)
cce_pool = cce.CCE_POOLS[args.cce_pool]
cce_pool = cce.CCE_POOLS[args.cce_pool]()
return _add_cce(directory, cce_pool, args.rule, product_yaml, args)


Expand Down

0 comments on commit 59b0c27

Please sign in to comment.