]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch2: Remove crazy code in unpack
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Nov 2015 09:56:51 +0000 (09:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Nov 2015 11:48:28 +0000 (11:48 +0000)
commit37214ea9bf484998b75dbc1200d53f1afc5257ed
tree8f6c99c724f8844325eb449aea19729a885e63f2
parent62367cca1f1793eb9827406bcdd5980fdeb80a60
fetch2: Remove crazy code in unpack

This looks reasonable until you realise self.localpath is a function. Data
expansion of something which isn't a string is the original value so this
code just wastes CPU cycles and makes no sense. Remove it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/__init__.py