mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-17 21:41:30 +00:00
Basic debug info when fetching manifests.
This commit is contained in:
parent
560421a65f
commit
e254cf3625
@ -11,7 +11,10 @@
|
|||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import time
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
from consts import BINARIES
|
from consts import BINARIES
|
||||||
@ -42,6 +45,7 @@ class TouchManifest(object):
|
|||||||
"pending/{}-preinstalled-touch-armhf.manifest".format(
|
"pending/{}-preinstalled-touch-armhf.manifest".format(
|
||||||
distribution, series
|
distribution, series
|
||||||
)
|
)
|
||||||
|
print("I: [%s] - Fetching manifest from %s" % (time.asctime(), url))
|
||||||
response = urllib.urlopen(url)
|
response = urllib.urlopen(url)
|
||||||
# Only [re]create the manifest file if one was successfully downloaded
|
# Only [re]create the manifest file if one was successfully downloaded
|
||||||
# this allows for an existing image to be used if the download fails.
|
# this allows for an existing image to be used if the download fails.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user