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/templatetags | |
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/templatetags')
-rw-r--r-- | layerindex/templatetags/addurlparameter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layerindex/templatetags/addurlparameter.py b/layerindex/templatetags/addurlparameter.py index 58a454a754..cfebd41167 100644 --- a/layerindex/templatetags/addurlparameter.py +++ b/layerindex/templatetags/addurlparameter.py @@ -23,7 +23,7 @@ def addurlparameter(parser, token): from re import split bits = split(r'\s+', token.contents, 2) if len(bits) < 2: - raise TemplateSyntaxError, "'%s' tag requires two arguments" % bits[0] + raise TemplateSyntaxError("'%s' tag requires two arguments" % bits[0]) return AddParameter(bits[1],bits[2]) register.tag('addurlparameter', addurlparameter) |