mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Python Better Docstrings
This commit is contained in:
parent
b8b41bdfdd
commit
113d9db7cb
15 changed files with 295 additions and 11 deletions
|
@ -24,6 +24,11 @@ import libcalamares
|
|||
|
||||
|
||||
def mount_partitions(root_mount_point, partitions):
|
||||
"""
|
||||
|
||||
:param root_mount_point:
|
||||
:param partitions:
|
||||
"""
|
||||
for partition in partitions:
|
||||
if not partition["mountPoint"]:
|
||||
continue
|
||||
|
@ -44,6 +49,11 @@ def mount_partitions(root_mount_point, partitions):
|
|||
|
||||
|
||||
def run():
|
||||
"""
|
||||
|
||||
|
||||
:return:
|
||||
"""
|
||||
root_mount_point = tempfile.mkdtemp(prefix="calamares-root-")
|
||||
partitions = libcalamares.globalstorage.value("partitions")
|
||||
extra_mounts = libcalamares.job.configuration["extraMounts"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue