[oe-commits] Chris Larson : base.bbclass: Add note about base_path_relative

git version control git at git.openembedded.org
Fri Mar 19 21:01:51 UTC 2010


Module: openembedded.git
Branch: rik/perl-5.10
Commit: e0503768af714c4e8c7fc75e462d4e58e34042a7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e0503768af714c4e8c7fc75e462d4e58e34042a7

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed Mar 17 13:35:05 2010 -0700

base.bbclass: Add note about base_path_relative

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 classes/base.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/classes/base.bbclass b/classes/base.bbclass
index 2f36312..09eb709 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -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.
 





More information about the Openembedded-commits mailing list