[grubcfg] add python doc strings
This commit is contained in:
parent
3d8ba2b088
commit
06be842cfa
@ -168,7 +168,7 @@ class FstabGenerator(object):
|
||||
check=check)
|
||||
|
||||
def print_fstab_line(self, dct, file=None):
|
||||
""" Prints line to /etc/fstab file.
|
||||
""" Prints line to '/etc/fstab' file.
|
||||
|
||||
:param dct:
|
||||
:param file:
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
#
|
||||
# Copyright 2014 - 2015, Philip Müller <philm@manjaro.org>
|
||||
# Copyright 2014-2015, Philip Müller <philm@manjaro.org>
|
||||
#
|
||||
# Calamares is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -23,7 +23,7 @@ import os
|
||||
|
||||
|
||||
def modify_grub_default(partitions, root_mount_point, distributor):
|
||||
"""
|
||||
""" Configures '/etc/default/grub' for hibernation and plymouth.
|
||||
|
||||
:param partitions:
|
||||
:param root_mount_point:
|
||||
@ -102,8 +102,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
||||
|
||||
|
||||
def run():
|
||||
"""
|
||||
|
||||
""" Calls routine with given parameters to modify '/etc/default/grub'.
|
||||
|
||||
:return:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user