pmb.*: various comment reformatting to assist with generating docs (MR 2266)

This commit is contained in:
Robert Eckelmann 2024-05-08 14:39:48 -07:00 committed by Newbyte
parent 415e7364f4
commit 044d3b5a6a
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
43 changed files with 592 additions and 599 deletions

View file

@ -18,7 +18,7 @@ def get_mtk_label(path):
an extracted boot.img.
:param path: to either the kernel or ramdisk extracted from boot.img
:returns: * None: file does not exist or does not have MediaTek header
* Label string (e.g. "ROOTFS", "KERNEL") """
* Label string (e.g. "ROOTFS", "KERNEL") """
if not os.path.exists(path):
return None
@ -48,7 +48,8 @@ def get_qcdt_type(path):
""" Get the dt.img type by reading the first four bytes of the file.
:param path: to the qcdt image extracted from boot.img
:returns: * None: dt.img is of unknown type
* Type string (e.g. "qcom", "sprd", "exynos") """
* Type string (e.g. "qcom", "sprd", "exynos")
"""
if not os.path.exists(path):
return None