summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Duraffort <remi.duraffort@linaro.org>2016-07-25 07:43:08 (GMT)
committerRémi Duraffort <remi.duraffort@linaro.org>2016-07-25 07:43:31 (GMT)
commit212a59551d80efbb566beb9d72303f7992025d05 (patch)
tree9108e9354e01c6d9495fea663a0bc203150d11fd
parent8f9e4d4a5d5b030eb75718acce3c0f4c058d4088 (diff)
downloadlava-dispatcher-212a59551d80efbb566beb9d72303f7992025d05.tar.gz
lava-dispatcher-212a59551d80efbb566beb9d72303f7992025d05.tar.xz
Fix pep8 errors
Change-Id: I7483df61ade6ee279fa081368a9b60f40b78297f
-rw-r--r--lava_dispatcher/pipeline/actions/deploy/removable.py1
-rw-r--r--lava_dispatcher/pipeline/utils/filesystem.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/lava_dispatcher/pipeline/actions/deploy/removable.py b/lava_dispatcher/pipeline/actions/deploy/removable.py
index e8021e1..f692891 100644
--- a/lava_dispatcher/pipeline/actions/deploy/removable.py
+++ b/lava_dispatcher/pipeline/actions/deploy/removable.py
@@ -49,6 +49,7 @@ from lava_dispatcher.pipeline.utils.constants import (
SECONDARY_DEPLOYMENT_MSG,
)
+
class Removable(Deployment):
"""
Deploys an image to a usb or sata mass storage device
diff --git a/lava_dispatcher/pipeline/utils/filesystem.py b/lava_dispatcher/pipeline/utils/filesystem.py
index 492bb86..4cb310b 100644
--- a/lava_dispatcher/pipeline/utils/filesystem.py
+++ b/lava_dispatcher/pipeline/utils/filesystem.py
@@ -185,6 +185,7 @@ def copy_out_files(image, filenames, destination):
out.write(file_buf)
guest.shutdown()
+
def copy_in_overlay(image, root_partition, overlay):
"""
Mounts test image partition as specified by the test
@@ -207,6 +208,7 @@ def copy_in_overlay(image, root_partition, overlay):
guest.tar_in(decompressed_overlay, '/')
guest.umount(guest_partition)
+
def copy_to_lxc(lxc_name, src):
"""Copies given file in SRC to lxc filesystem '/' with the provided
LXC_NAME and configured LXC_PATH