base.bbclass: Fix typo.
authorChris Larson <clarson@kergoth.com>
Sun, 22 Mar 2009 05:11:46 +0000 (22:11 -0700)
committerChris Larson <clarson@kergoth.com>
Sun, 22 Mar 2009 05:11:46 +0000 (22:11 -0700)
Signed-off-by: Chris Larson <clarson@kergoth.com>
classes/base.bbclass

index 952952b..f39059e 100644 (file)
@@ -211,7 +211,7 @@ def base_package_name(d):
 
 def base_set_filespath(path, d):
        import os, bb
-       bb.note("base_set_filespath usage is deprecated, %s should be fixed" % d.getar("P", 1))
+       bb.note("base_set_filespath usage is deprecated, %s should be fixed" % d.getVar("P", 1))
        filespath = []
        # The ":" ensures we have an 'empty' override
        overrides = (bb.data.getVar("OVERRIDES", d, 1) or "") + ":"