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 7B8541384B4 for ; Thu, 31 Dec 2015 01:03:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3672921C018; Thu, 31 Dec 2015 01:03:28 +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 DCBA721C018 for ; Thu, 31 Dec 2015 01:03:26 +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 C1A8A340890 for ; Thu, 31 Dec 2015 01:03:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7F46C88 for ; Thu, 31 Dec 2015 01:03:22 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1451523767.40b99fb93f0cbc80083a72e23e93da4bafb365fb.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/module.py X-VCS-Directories: layman/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: 40b99fb93f0cbc80083a72e23e93da4bafb365fb X-VCS-Branch: master Date: Thu, 31 Dec 2015 01:03:22 +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: 6b40b091-7124-4149-836c-7ba24d7bb524 X-Archives-Hash: ff77ebe17e647ec9e68a9fe7c0fe28c4 commit: 40b99fb93f0cbc80083a72e23e93da4bafb365fb Author: Devan Franchini gentoo org> AuthorDate: Thu Dec 31 01:02:44 2015 +0000 Commit: Devan Franchini gentoo org> CommitDate: Thu Dec 31 01:02:47 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=40b99fb9 module.py: fixes bug where the module_spec module name was not used This only showed up when the module's target name (filename) was not the same as the modules initialization name. layman/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layman/module.py b/layman/module.py index 6d7a40b..99d243b 100644 --- a/layman/module.py +++ b/layman/module.py @@ -48,7 +48,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)