summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_image_load.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 03:32:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-13 17:00:25 +0300
commite8655c2161a97261971ef19621a34651980b76d6 (patch)
tree721b342a6e07f9b12b4bc4fd33f887b39148b102 /utils/raspberrypi/ctt/ctt_image_load.py
parent33c4221e8700e15db55994e510d86225d6cd9ece (diff)
utils: raspberrypi: ctt: Fix pycodestyle E302
E302 expected 2 blank lines, found 0 Note that issues are still flagged, due to the use of docstrings as multi-lines comments. This will be addressed separately. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_image_load.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_image_load.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/raspberrypi/ctt/ctt_image_load.py b/utils/raspberrypi/ctt/ctt_image_load.py
index 240d68f9..66adb237 100644
--- a/utils/raspberrypi/ctt/ctt_image_load.py
+++ b/utils/raspberrypi/ctt/ctt_image_load.py
@@ -210,6 +210,7 @@ class Image:
self.patches = all_patches
return 1
+
def brcm_load_image(Cam, im_str):
"""
Load image where raw data and metadata is in the BRCM format
@@ -290,6 +291,7 @@ def brcm_load_image(Cam, im_str):
return Img
+
def dng_load_image(Cam, im_str):
try:
Img = Image(None)