]> git.openpandora.org Git - openembedded.git/commitdiff
base.bbclass: Add note about base_path_relative
authorChris Larson <chris_larson@mentor.com>
Wed, 17 Mar 2010 20:35:05 +0000 (13:35 -0700)
committerChris Larson <chris_larson@mentor.com>
Fri, 19 Mar 2010 17:36:13 +0000 (10:36 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/base.bbclass

index 2f363127c681a9228b0c3f6918350b0f57c58547..09eb70989a37e047a6fe37d09f7e577220da6fbe 100644 (file)
@@ -10,6 +10,7 @@ def base_path_join(a, *p):
             path += '/' + b
     return path
 
+# Note: Python 2.6+ has os.path.relpath, no need for this there
 def base_path_relative(src, dest):
     """ Return a relative path from src to dest.