Display actual cause of a failure to open a .oe in oe.make.
authorChris Larson <clarson@kergoth.com>
Sat, 15 May 2004 04:08:52 +0000 (04:08 +0000)
committerChris Larson <clarson@kergoth.com>
Sat, 15 May 2004 04:08:52 +0000 (04:08 +0000)
bin/oe/make.py

index 7a05ba7..612e12d 100644 (file)
@@ -173,8 +173,8 @@ def collect_oefiles( progressCallback ):
                 for var in pkgdata[f].keys():
                     if data.getVarFlag(var, "handler", pkgdata[f]) and data.getVar(var, pkgdata[f]):
                         event.register(data.getVar(var, pkgdata[f]))
-        except IOError:
-            oe.error("opening %s" % f)
+        except IOError, e:
+            oe.error("opening %s: %s" % (f, e))
             pass
         except oe.parse.SkipPackage:
             pass