unused variable -- open() does not need "as f"

pull/9256/head
Eli Schwartz 4 years ago
parent cdd0a1ddc8
commit 6c23b4c6fc
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/scripts/externalproject.py

@ -45,7 +45,7 @@ class ExternalProject:
f.write(' {} \\\n'.format(path.as_posix().replace(' ', '\\ ')))
def write_stampfile(self) -> None:
with open(self.stampfile, 'w', encoding='utf-8') as f:
with open(self.stampfile, 'w', encoding='utf-8'):
pass
def gnu_make(self) -> bool:

Loading…
Cancel
Save