diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-03 23:11:49 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-12 11:33:08 +1200 |
commit | 29c6458dcafd5970ddac95184348aeaf23b756fe (patch) | |
tree | 0a7d14e7aa22fd6c05b4e632502f3899347f3d56 /layerindex/recipedesc.py | |
parent | 22271029734eda0535d1a85f2732b341b7d22196 (diff) | |
download | openembedded-core-contrib-29c6458dcafd5970ddac95184348aeaf23b756fe.tar.gz |
Support (and require) Python 3
We need to be able to support Python 3 so that we can parse master of
OE-Core with bitbake (which now requires it). This now means the
interface itself and the update script require Python 3.4+.
Part of the implementation for [YOCTO #9704].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/recipedesc.py')
-rw-r--r-- | layerindex/recipedesc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layerindex/recipedesc.py b/layerindex/recipedesc.py index 1925a27b75..43376cfdd5 100644 --- a/layerindex/recipedesc.py +++ b/layerindex/recipedesc.py @@ -82,10 +82,10 @@ def main(): layerrecipes = Recipe.objects.filter(layer=layer) for recipe in layerrecipes: fullpath = str(os.path.join(repodir, layer.vcs_subdir, recipe.filepath, recipe.filename)) - print fullpath + print(fullpath) try: envdata = bb.cache.Cache.loadDataFull(fullpath, [], tinfoil.config_data) - print "DESCRIPTION = \"%s\"" % envdata.getVar("DESCRIPTION", True) + print("DESCRIPTION = \"%s\"" % envdata.getVar("DESCRIPTION", True)) except Exception as e: logger.info("Unable to read %s: %s", fullpath, str(e)) |