aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/tools
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-03 23:11:49 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-12 11:33:08 +1200
commit29c6458dcafd5970ddac95184348aeaf23b756fe (patch)
tree0a7d14e7aa22fd6c05b4e632502f3899347f3d56 /layerindex/tools
parent22271029734eda0535d1a85f2732b341b7d22196 (diff)
downloadopenembedded-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/tools')
-rwxr-xr-xlayerindex/tools/import_layer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layerindex/tools/import_layer.py b/layerindex/tools/import_layer.py
index a0771b410f..b472d2aea9 100755
--- a/layerindex/tools/import_layer.py
+++ b/layerindex/tools/import_layer.py
@@ -164,7 +164,7 @@ def get_github_layerinfo(layer_url, username = None, password = None):
data = resp.read()
json_data = json.loads(data)
#headers = dict((key, value) for key, value in resp.getheaders())
- #print headers
+ #print(headers)
owner_resp = github_api_call(json_data['owner']['url'].split('api.github.com')[-1])
if resp.status in [200, 302]:
owner_data = owner_resp.read()