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 DEEC9138202 for ; Wed, 17 Oct 2012 06:21:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1421AE04C7; Wed, 17 Oct 2012 06:21:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 60645E04C7 for ; Wed, 17 Oct 2012 06:21:43 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D8D133D383 for ; Wed, 17 Oct 2012 06:21:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4B624E5445 for ; Wed, 17 Oct 2012 06:21:41 +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: <1350454863.8d66d64d26b80c336661beb03e5b3c0dfe491c50.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/makeconf.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 8d66d64d26b80c336661beb03e5b3c0dfe491c50 X-VCS-Branch: master Date: Wed, 17 Oct 2012 06:21:41 +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: 387dc019-14be-4df5-9397-1aac8708cc8a X-Archives-Hash: 7f8133576516d40571e6e34f92159c84 commit: 8d66d64d26b80c336661beb03e5b3c0dfe491c50 Author: Brian Dolbec gentoo org> AuthorDate: Wed Oct 17 06:21:03 2012 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Oct 17 06:21:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=8d66d64d update the make.conf path to the correct one. --- layman/makeconf.py | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layman/makeconf.py b/layman/makeconf.py index 7eca2cd..5f18b63 100644 --- a/layman/makeconf.py +++ b/layman/makeconf.py @@ -5,7 +5,7 @@ ################################################################################# # File: makeconf.py # -# Handles modifications to /etc/make.conf +# Handles modifications to /var/layman/make.conf # # Copyright: # (c) 2005 - 2009 Gunnar Wrobel @@ -29,7 +29,7 @@ from layman.utils import path class MakeConf: ''' - Handles modifications to /etc/make.conf + Handles modifications to /var/layman/make.conf Check that an add/remove cycle does not modify the make.conf: @@ -152,7 +152,7 @@ class MakeConf: def read(self, raise_error=False): ''' - Read the list of registered overlays from /etc/make.conf. + Read the list of registered overlays from /var/layman/make.conf. >>> here = os.path.dirname(os.path.realpath(__file__)) >>> config = {'installed' : @@ -211,7 +211,7 @@ class MakeConf: def write(self): ''' - Write the list of registered overlays to /etc/make.conf. + Write the list of registered overlays to /var/layman/make.conf. >>> import tempfile >>> tmpdir = tempfile.mkdtemp(prefix="laymantmp_") @@ -281,7 +281,7 @@ class MakeConf: def content(self): ''' - Returns the content of the /etc/make.conf file. + Returns the content of the /var/layman/make.conf file. ''' try: make_conf = codecs.open(self.path, 'r', 'utf-8')