mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00: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:
@ -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()
|
||||
|
Reference in New Issue
Block a user