Skip to content

Commit

Permalink
Slices: Remove enabled: 1 boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
riidefi committed Aug 20, 2023
1 parent be96231 commit a9a702d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 334 deletions.
6 changes: 3 additions & 3 deletions mkwutil/lib/slices.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,10 @@ def __iter__(self):
data = yaml.safe_load(self.file)

for source_file, regions in data.items():
if regions.get('enabled', 0) != 1:
continue
# if regions.get('enabled', 0) != 1:
# continue

tags = []
tags = ["enabled"]
for k, v in regions.items():
if v == 1:
tags.append(k)
Expand Down
Loading

0 comments on commit a9a702d

Please sign in to comment.