Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Oct 4, 2023
1 parent 6d5cac1 commit bdcca62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synthtool/gcp/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ def _generic_library(
if defaults_path.exists():
kwargs["metadata"]["defaults"] = {}
for default_file in defaults_path.glob("*-default.yaml"):
self.excludes.append("defaults/{}".format(os.path.basename(default_file)))
self.excludes.append(
"defaults/{}".format(os.path.basename(default_file))
)
with open(default_file) as f:
kwargs["metadata"]["defaults"].update(
yaml.load(f, Loader=yaml.SafeLoader)
Expand Down

0 comments on commit bdcca62

Please sign in to comment.