mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Do not in-line complex code unnecessarily.
This commit is contained in:
parent
73b914c2f6
commit
caba7f0566
1 changed files with 2 additions and 2 deletions
|
|
@ -30,11 +30,11 @@ def handle_download(source=UPSTREAM, target=VENDORED, *,
|
|||
|
||||
# Save the metadata.
|
||||
print('saving the schema metadata...')
|
||||
formatted = meta.format()
|
||||
metafile, filename = open_metadata(target, 'w',
|
||||
_open=_open)
|
||||
with metafile:
|
||||
metafile.write(
|
||||
meta.format())
|
||||
metafile.write(formatted)
|
||||
print('...metadata written to {}.'.format(filename))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue