Correction to the inherit code so that classname gets set properly when we go more...
authorChris Larson <clarson@kergoth.com>
Fri, 6 Jun 2003 14:52:10 +0000 (14:52 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 6 Jun 2003 14:52:10 +0000 (14:52 +0000)
bin/oe.py

index 85b16df..41a170e 100644 (file)
--- a/bin/oe.py
+++ b/bin/oe.py
@@ -1304,8 +1304,8 @@ def read_oe(oefile, inherit = False, classname = None):
 
 #                              print "read_oe: inherit: loading %s" % file
                                try:
-                                       read_oe(file, True)
-                                       __read_oe_classname__ = ""
+                                       read_oe(file, True, __read_oe_classname__)
+                                       __read_oe_classname__ = classname
                                except IOError:
                                        fatal("error accessing build file %s" % file)
                        return