Skip to content

Commit

Permalink
add exception handling to update_all
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed Jul 23, 2024
1 parent 5b56718 commit 65cbb26
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions dmeta/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,11 @@ def update_all(config_file_name):
"""
path = os.getcwd()
dir_list = os.listdir(path)
microsoft_files = []
for item in dir_list:
if get_microsoft_format(item) is not None:
microsoft_files.append(item)
for microsoft_file in microsoft_files:
update(config_file_name, microsoft_file)
for file in dir_list:
try:
update(config_file_name, file)
except DMetaBaseError as e:
pass


def dmeta_help():
Expand Down

0 comments on commit 65cbb26

Please sign in to comment.