]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package_deb: Clean up pointless exception handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Jan 2017 14:08:07 +0000 (14:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Jan 2017 09:05:39 +0000 (09:05 +0000)
commitfdb52ade904e2d6c379f7f6859eef7dba26874b6
treedd4088bc798d02efd3dccbf543fb293dfd4b70f0
parent53a3c5877458678732e43ec92798f0b3f6f9bac6
package_deb: Clean up pointless exception handling

The exception handling in this function seemed mildly crazy. Python will
given perfectly good or in several cases better information if we let its
standard traceback/exception handling happen. Remove the pointless code
along with the duplicated key checking which was broken in the inner loop
by usage of the wrong variable.

(From OE-Core rev: f755b07b528e828618141eda402399d791efba4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_deb.bbclass