diff options
| author | Tristan Partin <tristan@partin.io> | 2024-02-23 12:44:55 -0600 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-02-24 13:09:24 -0800 |
| commit | 0b19d1c015508023d13fd0cb460983e0ea28f02f (patch) | |
| tree | 2615052c0443ed20b41cbd1f91750af075d4cfd0 | |
| parent | 35c605272378def120e3499b3f59bbcbdf72fef5 (diff) | |
| download | meson-0b19d1c015508023d13fd0cb460983e0ea28f02f.tar.gz | |
Correct fs.read function name in exception message
| -rw-r--r-- | mesonbuild/modules/fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/fs.py b/mesonbuild/modules/fs.py index 1f670d373..b977b99c0 100644 --- a/mesonbuild/modules/fs.py +++ b/mesonbuild/modules/fs.py @@ -235,7 +235,7 @@ class FSModule(ExtensionModule): if isinstance(path, File): if path.is_built: raise MesonException( - 'fs.read_file does not accept built files() objects') + 'fs.read does not accept built files() objects') path = os.path.join(src_dir, path.relative_name()) else: if sub_dir: |
