mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
scripts/: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
a1a62ced51
commit
d30b5bc95a
9 changed files with 12 additions and 12 deletions
|
@ -81,7 +81,7 @@ class QAPIGen:
|
|||
if odir:
|
||||
os.makedirs(odir, exist_ok=True)
|
||||
|
||||
# use os.open for O_CREAT to create and read a non-existant file
|
||||
# use os.open for O_CREAT to create and read a non-existent file
|
||||
fd = os.open(pathname, os.O_RDWR | os.O_CREAT, 0o666)
|
||||
with os.fdopen(fd, 'r+', encoding='utf-8') as fp:
|
||||
text = self.get_content()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue