]> code.ossystems Code Review - openembedded-core.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:04 +0000 (09:05 +0000)
commitf755b07b528e828618141eda402399d791efba4a
treec5f8bd0ea445192ae7ee1aad15645ae3556f505e
parent18160442869f56ee71538bc2dc60d7cb6c08c8a2
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.

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