summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2014-11-20 14:44:06 (GMT)
committerLinaro Code Review <review@review.linaro.org>2014-11-20 15:14:11 (GMT)
commit63d67c641d60773743fad911c8639f35d4db3578 (patch)
treebcb8997376a230c39f94a0d3b44a5305a7429491
parentb9f7c6c8d8fafe99fc2b3ee293ec95143bc392dd (diff)
downloadlava-dispatcher-master.tar.gz
lava-dispatcher-master.tar.xz
Log the compression behaviour being used.HEADmaster
Change-Id: I7074b094444f53958d7dbb61b1c9a50ce417bbbe
-rw-r--r--lava_dispatcher/pipeline/actions/deploy/download.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lava_dispatcher/pipeline/actions/deploy/download.py b/lava_dispatcher/pipeline/actions/deploy/download.py
index 44a637d..306bb72 100644
--- a/lava_dispatcher/pipeline/actions/deploy/download.py
+++ b/lava_dispatcher/pipeline/actions/deploy/download.py
@@ -126,6 +126,9 @@ class DownloadHandler(Action):
decompressor = bz2.BZ2Decompressor()
elif compression == 'xz':
decompressor = lzma.LZMADecompressor()
+ self.logger.debug("Using %s decompression" % compression)
+ else:
+ self.logger.debug("No compression specified.")
def write(buff):
if decompressor: