forked from Mirror/pmbootstrap
pmb.*: various comment reformatting to assist with generating docs (MR 2266)
This commit is contained in:
parent
415e7364f4
commit
044d3b5a6a
43 changed files with 592 additions and 599 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue