chiark / gitweb /
Fix build crash introduced in 3768d7a4
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 30 Mar 2016 21:54:37 +0000 (22:54 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 30 Mar 2016 21:54:37 +0000 (22:54 +0100)
commite822627fd1c586ae39388321170de794c2770980
tree31b67c5f1a05a82467d702e55acd5a6afb97fb84
parent7082e2f2091e23f05603f24f39651b6be7c61e0e
Fix build crash introduced in 3768d7a4

get_ndk_path was removed long ago when App and Build were introduced.
Now Build.ndk_path() should be used. Trying to use the object as a dict
resulted in a nasty crash:

TypeError: 'Build' object is not subscriptable

This is probably a result from faulty rebasing and not enough test
coverage.
fdroidserver/common.py