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 2f36312..09eb709 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.