diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-12 12:16:08 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-12 15:57:31 +1200 |
commit | 1553d287a9c29f38d7754390fb8e2f05607ca5f4 (patch) | |
tree | 41b319a7f35f70b5fbf17f1fd114526c13908ac2 /classes/opie.bbclass | |
parent | 334999487abd3ccf9eadde88c2b9486455325a90 (diff) | |
download | meta-opie-1553d287a9c29f38d7754390fb8e2f05607ca5f4.tar.gz |
Fixes for Python 3
OE-Core master now requires Python 3 so we need to ensure Python code
here is compatible.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'classes/opie.bbclass')
-rw-r--r-- | classes/opie.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/opie.bbclass b/classes/opie.bbclass index 21dc581..f3edaf6 100644 --- a/classes/opie.bbclass +++ b/classes/opie.bbclass @@ -62,7 +62,7 @@ fakeroot python opie_do_opie_install() { "Networksettings" : ( "/plugins/networksettings", None ) } if section not in dirmap: - raise ValueError, "Unknown section '%s'. Valid sections are: %s" % ( section, dirmap.keys() ) + raise ValueError("Unknown section '%s'. Valid sections are: %s" % ( section, dirmap.keys() )) bindir, desktopdir = dirmap[section] APPNAME = bb.data.getVar( "APPNAME", d, True ) or bb.data.getVar( "PN", d, True ) |