Skip to content

Commit

Permalink
Update script to ignore phone_data.h and reset phone_data.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhwalters committed Aug 1, 2024
1 parent 0eba500 commit 77d7544
Show file tree
Hide file tree
Showing 2 changed files with 259 additions and 479 deletions.
6 changes: 5 additions & 1 deletion scripts/sort_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ def sort_all_arrays_in_file(filename):

def sort_all_arrays_in_directory(directory):
for filename in os.listdir(directory):
if filename.endswith('_data.h') and filename not in ["commerce_data.h", "person_data.h"]:
if filename.endswith('_data.h') and filename not in [
"commerce_data.h",
"person_data.h",
"phone_data.h"
]:
filepath = os.path.join(directory, filename)
sort_all_arrays_in_file(filepath)

Expand Down
Loading

0 comments on commit 77d7544

Please sign in to comment.