Skip to content

Commit

Permalink
added number of items
Browse files Browse the repository at this point in the history
  • Loading branch information
erjosito committed Jul 2, 2024
1 parent c26e428 commit e936e49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/verify_checklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def verify_file(input_file):
try:
with open(input_file) as f:
checklist = json.load(f)
if 'items' in checklist:
if args.verbose:
print("DEBUG: {0} items found in JSON file {1}".format(len(checklist['items']), input_file))
except Exception as e:
print("ERROR: Error when processing JSON file, nothing changed", input_file, ":", str(e))
sys.exit(1)
Expand Down

0 comments on commit e936e49

Please sign in to comment.