From dcfcb30a031cb2684b10ec80427a4c83adb18c83 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 20 Dec 2010 16:07:11 -0800 Subject: [PATCH] _lazy_vars: fix repo argument for license_manager --- pym/portage/package/ebuild/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 664075197..ba6ac21fa 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -915,7 +915,7 @@ class config(object): use = frozenset(settings['PORTAGE_USE'].split()) values['ACCEPT_LICENSE'] = settings._license_manager.get_prunned_accept_license( \ - settings.mycpv, use, settings['LICENSE'], settings['SLOT'], settings['repository']) + settings.mycpv, use, settings['LICENSE'], settings['SLOT'], settings.get('PORTAGE_REPO_NAME')) values['PORTAGE_RESTRICT'] = self._restrict(use, settings) return values -- 2.26.2