diff options
author | Steve App <hklang10@gmail.com> | 2021-04-25 12:45:06 +0000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-04-29 12:36:07 +1000 |
commit | 326dd7f0dbbadc4a536636d486600ce93dade8c5 (patch) | |
tree | c8d91a2fcf8434f10b283a54af4b127ad37c1117 /tools/makemanifest.py | |
parent | 21fee92be6c534d0d44518c0c76f0c7cf5f64b18 (diff) | |
download | micropython-326dd7f0dbbadc4a536636d486600ce93dade8c5.tar.gz micropython-326dd7f0dbbadc4a536636d486600ce93dade8c5.zip |
tools/makemanifest.py: Show directory name if there is a FreezeError.
Diffstat (limited to 'tools/makemanifest.py')
-rw-r--r-- | tools/makemanifest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/makemanifest.py b/tools/makemanifest.py index 117d1536e8..51de01dd8a 100644 --- a/tools/makemanifest.py +++ b/tools/makemanifest.py @@ -199,7 +199,7 @@ def mkdir(filename): def freeze_internal(kind, path, script, opt): path = convert_path(path) if not os.path.isdir(path): - raise FreezeError("freeze path must be a directory") + raise FreezeError("freeze path must be a directory: {}".format(path)) if script is None and kind == KIND_AS_STR: if any(f[0] == KIND_AS_STR for f in manifest_list): raise FreezeError("can only freeze one str directory") |