aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-07-14 14:33:18 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-08 13:08:52 +0300
commitd30b5bc95a9406b4125a35defba3a953358215cb (patch)
treefba8ad36200874135937066f812dab0f78f96c0c /scripts/qapi
parenta1a62ced51bd33716c79719246ac969447acadb2 (diff)
scripts/: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'scripts/qapi')
-rw-r--r--scripts/qapi/gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi/gen.py b/scripts/qapi/gen.py
index 70bc576a10..bf5716b5f3 100644
--- a/scripts/qapi/gen.py
+++ b/scripts/qapi/gen.py
@@ -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()