diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-11-11 23:34:40 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 07:48:13 +0000 |
commit | 273eee7a3614caea17c5bc93b720353641293cf7 (patch) | |
tree | 913fb569ab2d9536c56c458e3b53c2a5bd2e867e /scripts/oe-trim-schemas | |
parent | d3e0a300810251f34932f46daf5263a23846fedd (diff) | |
download | openembedded-core-273eee7a3614caea17c5bc93b720353641293cf7.tar.gz openembedded-core-273eee7a3614caea17c5bc93b720353641293cf7.tar.bz2 openembedded-core-273eee7a3614caea17c5bc93b720353641293cf7.zip |
bitbake-prserv-tool: check file name
Fixed:
$ bitbake-prserv-tool import /tmp/1
File "/path/to/lib/bb/parse/__init__.py", line 114, in handle(fn='/tmp/1', data=<bb.data_smart.DataSmart object at 0x2369bd0>, include=True):
return h['handle'](fn, data, include)
> raise ParseError("not a BitBake file", fn)
ParseError: ParseError in /tmp/1: not a BitBake file
But 1.conf or 1.inc works well, check the filename and print proper
error message.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/oe-trim-schemas')
0 files changed, 0 insertions, 0 deletions