aboutsummaryrefslogtreecommitdiffstats
path: root/__init__.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-11-02 16:16:02 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2015-11-02 16:16:02 +0000
commit0300063abb407d0c10ba7231fdaf7278cefbc405 (patch)
treea4228df267ab52d66ba7fe89ad58daacdb2766e5 /__init__.py
parentcad4d3df169270ba799f9800f419db53202f6092 (diff)
downloadopenembedded-core-contrib-0300063abb407d0c10ba7231fdaf7278cefbc405.tar.gz
update.py: fix splitting on _ when getting class inheritance
The code to populate the inherits information was using a function designed to get the recipe name from a file path, but unlike recipe filenames, the underscore isn't treated as special in class filenames and in fact it's quite common to use underscores there; we were ending up with items in the inherit list such as "populate" and "rootfs". Use the standard python os.path functions to do the splitting instead and avoid this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to '__init__.py')
0 files changed, 0 insertions, 0 deletions