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 910CA1381F3 for ; Wed, 26 Jun 2013 03:32:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC031E097C; Wed, 26 Jun 2013 03:32:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10E52E097C for ; Wed, 26 Jun 2013 03:32:17 +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 E65C433E710 for ; Wed, 26 Jun 2013 03:32:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0E417E468F for ; Wed, 26 Jun 2013 03:32:15 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: <1372217503.95fe42882c5d53798c9f6ecc7633229efd74a965.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/repository/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/repository/config.py X-VCS-Directories: pym/portage/repository/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: 95fe42882c5d53798c9f6ecc7633229efd74a965 X-VCS-Branch: master Date: Wed, 26 Jun 2013 03:32:15 +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: c4baea20-1ab7-428c-9a54-2f0a937716cd X-Archives-Hash: 4b3c805315c09476681a22204731b9ac commit: 95fe42882c5d53798c9f6ecc7633229efd74a965 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Wed Jun 26 03:31:43 2013 +0000 Commit: Arfrever Frehtes Taifersar Arahesis gmail com> CommitDate: Wed Jun 26 03:31:43 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=95fe4288 Update comments. --- pym/portage/repository/config.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 896527a..c0f2007 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -135,11 +135,13 @@ class RepoConfig(object): priority = None self.priority = priority + # Not implemented. sync = repo_opts.get('sync') if sync is not None: sync = sync.strip() self.sync = sync + # Not implemented. format = repo_opts.get('format') if format is not None: format = format.strip() @@ -486,9 +488,9 @@ class RepoConfigLoader(object): except EnvironmentError: pass else: - # The 'source' keyword argument is needed since - # otherwise ConfigParsier may throw a TypeError because - # it assumes that f.name is a native string rather + # The 'source' keyword argument is needed since otherwise + # ConfigParser in Python <3.3.3 may throw a TypeError + # because it assumes that f.name is a native string rather # than binary when constructing error messages. kwargs = {source_kwarg: p} read_file(f, **portage._native_kwargs(kwargs))