aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-11-04 19:15:58 +0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-11-05 21:22:14 +0200
commit7ba7ea0897b8dc5d8d69b490004fd4562a4f396b (patch)
treec2685e224cd85f245d57b3856d0e597dbaff0841
parentd58dcf26e7dca894aca6c6771ca45c623a23a2c5 (diff)
downloadmeson-7ba7ea0897b8dc5d8d69b490004fd4562a4f396b.zip
meson-7ba7ea0897b8dc5d8d69b490004fd4562a4f396b.tar.gz
meson-7ba7ea0897b8dc5d8d69b490004fd4562a4f396b.tar.bz2
rewrite: fix function spelling
-rw-r--r--mesonbuild/rewriter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/rewriter.py b/mesonbuild/rewriter.py
index 7730ab6..a412627 100644
--- a/mesonbuild/rewriter.py
+++ b/mesonbuild/rewriter.py
@@ -920,7 +920,7 @@ def generate_def_opts(options) -> T.List[dict]:
'options': list_to_dict(options.options),
}]
-def genreate_cmd(options) -> T.List[dict]:
+def generate_cmd(options) -> T.List[dict]:
if os.path.exists(options.json):
with open(options.json, 'r') as fp:
return json.load(fp)
@@ -934,8 +934,8 @@ cli_type_map = {
'kwargs': generate_kwargs,
'default-options': generate_def_opts,
'def': generate_def_opts,
- 'command': genreate_cmd,
- 'cmd': genreate_cmd,
+ 'command': generate_cmd,
+ 'cmd': generate_cmd,
}
def run(options):