Adjust FILE handling; ensure .conf parsing sets it.
authorChris Larson <clarson@kergoth.com>
Mon, 12 Apr 2004 21:36:17 +0000 (21:36 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 12 Apr 2004 21:36:17 +0000 (21:36 +0000)
bin/oe/parse/OEHandler.py

index 6821e05..66f829c 100644 (file)
@@ -60,8 +60,6 @@ def handle(fn, d = {}, include = 0):
 
        init(d)
 
-       oldfile = data.getVar('FILE', d)
-
        fn = obtain(fn, d)
        oepath = ['.']
        if not os.path.isabs(fn):
@@ -139,8 +137,6 @@ def handle(fn, d = {}, include = 0):
                                        pdeps.append(var)
                                        data.setVarFlag(p, 'deps', pdeps, d)
                                        oe.build.add_task(p, pdeps, d)
-       if oldfile:
-               data.setVar('FILE', oldfile, d)
        return d
 
 def feeder(lineno, s, fn, d):