diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2005-10-21 20:29:15 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2005-10-21 20:29:15 +0000 |
commit | c8cea831e627ca7398fba4276649097b2d18812b (patch) | |
tree | c443a47a71508986d01ca8d90d0a68670eef31cc | |
parent | 6a5f647e83145ab6d470469974c618511b458827 (diff) | |
download | bitbake-c8cea831e627ca7398fba4276649097b2d18812b.tar.gz |
BitBake Configuration Parser:
-say what file could not be opened instead of simply saying
file not found.
-rw-r--r-- | lib/bb/parse/parse_py/ConfHandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/parse/parse_py/ConfHandler.py b/lib/bb/parse/parse_py/ConfHandler.py index 41ef96d55..ecae5d1d9 100644 --- a/lib/bb/parse/parse_py/ConfHandler.py +++ b/lib/bb/parse/parse_py/ConfHandler.py @@ -125,7 +125,7 @@ def handle(fn, data = bb.data.init(), include = 0): debug(1, "CONF %s %s" % (inc_string, currname)) break if f is None: - raise IOError("file not found") + raise IOError("file '%s' not found" % fn) else: f = open(fn,'r') debug(1, "CONF %s %s" % (inc_string,fn)) |