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 D162713877A for ; Mon, 16 Jun 2014 03:40:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFB4DE0B52; Mon, 16 Jun 2014 03:40:23 +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 B2013E0B4E for ; Mon, 16 Jun 2014 03:40:22 +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 D2F9F33F908 for ; Mon, 16 Jun 2014 03:40:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 26E321880C for ; Mon, 16 Jun 2014 03:40:19 +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: <1402783609.095db013be3d0ab6c5ad4dec14d56cd0facaa192.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/reposconf.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 095db013be3d0ab6c5ad4dec14d56cd0facaa192 X-VCS-Branch: master Date: Mon, 16 Jun 2014 03:40:19 +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: cfe0f99a-72bd-49e1-9842-f8b7e75625f8 X-Archives-Hash: b9daa495355260127067d511afa30a95 Message-ID: <20140616034019.aP92uqU-ttlwWKby5d2Epd7f8s6iZeS_IEKiA8sNqP4@z> commit: 095db013be3d0ab6c5ad4dec14d56cd0facaa192 Author: Devan Franchini gentoo org> AuthorDate: Thu Jun 5 14:52:06 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sat Jun 14 22:06:49 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=095db013 reposconf.py: Adds overlay priority value --- layman/reposconf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/layman/reposconf.py b/layman/reposconf.py index 3216591..a7a0166 100644 --- a/layman/reposconf.py +++ b/layman/reposconf.py @@ -78,6 +78,7 @@ class ConfigHandler: @return boolean: reflects a successful/failed write to the config file. ''' self.repo_conf.add_section(overlay.name) + self.repo_conf.set(overlay.name, 'priority', str(overlay.priority)) self.repo_conf.set(overlay.name, 'location', path((self.storage, overlay.name))) self.repo_conf.set(overlay.name, 'sync-uri', overlay.sources[0].src) self.repo_conf.set(overlay.name, 'auto-sync', self.config['auto_sync'])