From be2353e54bac5f09af184324d7c641a5d8be4a2c Mon Sep 17 00:00:00 2001 From: Philip Date: Sat, 21 Feb 2015 10:46:01 +0100 Subject: [PATCH] [packages] add python doc strings --- src/modules/packages/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/packages/main.py b/src/modules/packages/main.py index bd2b2360d..62c486c06 100644 --- a/src/modules/packages/main.py +++ b/src/modules/packages/main.py @@ -23,7 +23,7 @@ from libcalamares.utils import check_chroot_call, chroot_call class PackageManager: - """ + """ Package manager class :param backend: """ @@ -31,7 +31,7 @@ class PackageManager: self.backend = backend def install(self, pkgs): - """ + """ Installs packages. :param pkgs: """ @@ -56,7 +56,7 @@ class PackageManager: check_chroot_call(["pacman", "-Sy", "--noconfirm"] + pkgs) def remove(self, pkgs): - """ + """ Removes packages. :param pkgs: """ @@ -80,7 +80,7 @@ class PackageManager: def run_operations(pkgman, entry): - """ + """ Call package manager with given parameters. :param pkgman: :param entry: @@ -93,8 +93,8 @@ def run_operations(pkgman, entry): def run(): - """ - + """ Calls routine with detected package manager to install locale packages + or remove drivers not needed on the installed system. :return: """