From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D1D311388C1 for ; Sun, 20 Dec 2015 04:47:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B176121C002; Sun, 20 Dec 2015 04:47:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5474121C002 for ; Sun, 20 Dec 2015 04:47:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7B1634070F for ; Sun, 20 Dec 2015 04:47:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFD68B41 for ; Sun, 20 Dec 2015 04:47:22 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1450586774.0c350da62bc96d278c2630fecad9996ecd28cf55.dolsen@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 0c350da62bc96d278c2630fecad9996ecd28cf55 X-VCS-Branch: master Date: Sun, 20 Dec 2015 04:47:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cfb972a2-612f-4247-b816-f5c7bb6e84bc X-Archives-Hash: 8e3873c387714fedf934183892f5958d commit: 0c350da62bc96d278c2630fecad9996ecd28cf55 Author: Brian Dolbec gentoo org> AuthorDate: Sun Dec 20 04:46:14 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sun Dec 20 04:46:14 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=0c350da6 stagebase.py: Create correct docstrings for the set*action_sequence methods catalyst/base/stagebase.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index c2902ed..67b6653 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -498,13 +498,18 @@ class StageBase(TargetBase, ClearBase, GenBase): self.settings["iso_volume_id"]="catalyst "+self.settings["snapshot"] def set_default_action_sequence(self): - """ Default action sequence for run method """ + """ Default action sequence for run method. + + This method sets the optional purgeonly action sequence and returns. + Or it calls the normal set_action_sequence() for the target stage. + """ if "purgeonly" in self.settings["options"]: self.settings["action_sequence"] = ["remove_chroot"] return self.set_action_sequence() def set_action_sequence(self): + """Set basic stage1, 2, 3 action sequences""" self.settings["action_sequence"]=["unpack","unpack_snapshot",\ "setup_confdir","portage_overlay",\ "base_dirs","bind","chroot_setup","setup_environment",\