chiark / gitweb /
Handle duplicate apps in a much cleaner way
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 28 Nov 2015 11:16:23 +0000 (12:16 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 28 Nov 2015 13:04:21 +0000 (14:04 +0100)
commitde12cfdbe1cdfe07b8e5c0af49cc15fe75745c6f
treef21fcb7afaf5e230dba0a13e4ca6a91b6e0f8d26
parentce2f4a115c96f761047e287c7e16132c270149fc
Handle duplicate apps in a much cleaner way

Don't log and exit in an inner metadata function. Handle it at a higher
level and do a proper exception. This also avoids unnecessary passing of
apps all around.
fdroidserver/import.py
fdroidserver/metadata.py
tests/import.TestCase