From e254cf36252b17fd1be8f82256e89fe6b759bfbf Mon Sep 17 00:00:00 2001 From: Celso Providelo Date: Mon, 2 Feb 2015 14:00:24 -0500 Subject: [PATCH] Basic debug info when fetching manifests. --- boottest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boottest.py b/boottest.py index 67485b2..3c1b951 100644 --- a/boottest.py +++ b/boottest.py @@ -11,7 +11,10 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +from __future__ import print_function + import os +import time import urllib from consts import BINARIES @@ -42,6 +45,7 @@ class TouchManifest(object): "pending/{}-preinstalled-touch-armhf.manifest".format( distribution, series ) + print("I: [%s] - Fetching manifest from %s" % (time.asctime(), url)) response = urllib.urlopen(url) # Only [re]create the manifest file if one was successfully downloaded # this allows for an existing image to be used if the download fails.