[grubcfg] add python doc strings
This commit is contained in:
parent
3d8ba2b088
commit
06be842cfa
@ -168,7 +168,7 @@ class FstabGenerator(object):
|
|||||||
check=check)
|
check=check)
|
||||||
|
|
||||||
def print_fstab_line(self, dct, file=None):
|
def print_fstab_line(self, dct, file=None):
|
||||||
""" Prints line to /etc/fstab file.
|
""" Prints line to '/etc/fstab' file.
|
||||||
|
|
||||||
:param dct:
|
:param dct:
|
||||||
:param file:
|
:param file:
|
||||||
|
@ -23,7 +23,7 @@ import os
|
|||||||
|
|
||||||
|
|
||||||
def modify_grub_default(partitions, root_mount_point, distributor):
|
def modify_grub_default(partitions, root_mount_point, distributor):
|
||||||
"""
|
""" Configures '/etc/default/grub' for hibernation and plymouth.
|
||||||
|
|
||||||
:param partitions:
|
:param partitions:
|
||||||
:param root_mount_point:
|
:param root_mount_point:
|
||||||
@ -102,8 +102,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||||||
|
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
"""
|
""" Calls routine with given parameters to modify '/etc/default/grub'.
|
||||||
|
|
||||||
|
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user