BBHandler: Improve file not fuond error message
authorRichard Purdie <rpurdie@linux.intel.com>
Sat, 6 Dec 2008 12:16:38 +0000 (12:16 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Sat, 6 Dec 2008 12:16:38 +0000 (12:16 +0000)
lib/bb/parse/parse_py/BBHandler.py

index cc8bc92..583a71c 100644 (file)
@@ -116,7 +116,7 @@ def handle(fn, d, include = 0):
                 f = open(j, 'r')
                 break
         if f is None:
-            raise IOError("file not found")
+            raise IOError("file %s not found" % fn)
     else:
         f = open(fn,'r')
         abs_fn = fn