Challenge APKINDEX.tar.gz: add logging

This commit is contained in:
Oliver Smith 2017-07-11 18:26:22 +02:00
parent 0bd1d54049
commit c3a4446166
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 6 additions and 0 deletions

View file

@ -17,11 +17,13 @@ You should have received a copy of the GNU General Public License
along with pmbootstrap. If not, see <http://www.gnu.org/licenses/>.
"""
import os
import logging
import pmb.challenge
def frontend(args):
path = args.challenge_file
logging.info("Challenge " + path)
if path.endswith(".apk"):
pmb.challenge.build(args, path)
elif os.path.basename(path) == "APKINDEX.tar.gz":