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 70AE4138247 for ; Wed, 22 Jan 2014 05:04:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6508DE118E; Wed, 22 Jan 2014 05:04:21 +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 D1B73E118E for ; Wed, 22 Jan 2014 05:04:15 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 09CBA33FAF3 for ; Wed, 22 Jan 2014 05:04:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 63640183B3 for ; Wed, 22 Jan 2014 05:04:12 +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: <1388772141.b5dcf208b1798e0ba90adf5b85866b5e5ef42c65.dol-sen@gentoo> Subject: [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/, catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/resume.py catalyst/fileops.py X-VCS-Directories: catalyst/ catalyst/base/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: b5dcf208b1798e0ba90adf5b85866b5e5ef42c65 X-VCS-Branch: 3.0 Date: Wed, 22 Jan 2014 05:04:12 +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: 8c9bb44d-1011-4b15-80cb-0a895d08d8cf X-Archives-Hash: dd1998cfb8249ef10e3b9e5087613084 commit: b5dcf208b1798e0ba90adf5b85866b5e5ef42c65 Author: Brian Dolbec gentoo org> AuthorDate: Tue Dec 31 17:41:52 2013 +0000 Commit: Brian Dolbec gmail com> CommitDate: Fri Jan 3 18:02:21 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=b5dcf208 Add some docstring updates. --- catalyst/base/resume.py | 1 + catalyst/fileops.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/catalyst/base/resume.py b/catalyst/base/resume.py index cf495fc..2c006ab 100644 --- a/catalyst/base/resume.py +++ b/catalyst/base/resume.py @@ -142,6 +142,7 @@ class AutoResume(object): def clear_all(self, remove=False): '''Clear all active resume points + @remove: boolean, passed through to clear_dir() @return boolean ''' if clear_dir(self.basedir, mode=0755, chg_flags=True, remove=remove): diff --git a/catalyst/fileops.py b/catalyst/fileops.py index 245c83e..fd98db2 100644 --- a/catalyst/fileops.py +++ b/catalyst/fileops.py @@ -52,6 +52,12 @@ def ensure_dirs(path, gid=-1, uid=-1, mode=0777, minimal=True, def clear_dir(target, mode=0755, chg_flags=False, remove=False): '''Universal directory clearing function + + @target: string, path to be cleared or removed + @mode: integer, desired mode to set the directory to + @chg_flags: boolean used for FreeBSD hoosts + @remove: boolean, passed through to clear_dir() + @return boolean ''' #print "fileops.clear_dir()" if not target: