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 482E41384B4 for ; Wed, 30 Dec 2015 23:38:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B51E221C009; Wed, 30 Dec 2015 23:38:22 +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 EEBD921C009 for ; Wed, 30 Dec 2015 23:38:21 +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 E09783408E5 for ; Wed, 30 Dec 2015 23:38:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFB5BCF5 for ; Wed, 30 Dec 2015 23:38:15 +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: <1451518082.a26821f63c01005cb1e9509051fd44c7c2b08012.dolsen@gentoo> Subject: [gentoo-commits] proj/portage:repoman commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/module.py X-VCS-Directories: pym/portage/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: a26821f63c01005cb1e9509051fd44c7c2b08012 X-VCS-Branch: repoman Date: Wed, 30 Dec 2015 23:38: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: 477978cd-36ad-4a49-a768-f1a7d92d143f X-Archives-Hash: 82052722edaa0fc1cd87ec89e66a3e73 commit: a26821f63c01005cb1e9509051fd44c7c2b08012 Author: Brian Dolbec gentoo org> AuthorDate: Wed Dec 30 23:28:02 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Wed Dec 30 23:28:02 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a26821f6 portage/module.py: Fix bug where the module_spec module name was not being used This only showed up when the module's target name (filename) was not the same as the modules initialization name. pym/portage/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/module.py b/pym/portage/module.py index 2277e7a..69050aa 100644 --- a/pym/portage/module.py +++ b/pym/portage/module.py @@ -46,7 +46,7 @@ class Module(object): for submodule in self.module_spec['provides']: kid = self.module_spec['provides'][submodule] kidname = kid['name'] - kid['module_name'] = '.'.join([mod_name, self.name]) + kid['module_name'] = '.'.join([mod_name, kidname]) kid['is_imported'] = False self.kids[kidname] = kid self.kids_names.append(kidname)