_lazy_vars: fix repo argument for license_manager
authorZac Medico <zmedico@gentoo.org>
Tue, 21 Dec 2010 00:07:11 +0000 (16:07 -0800)
committerZac Medico <zmedico@gentoo.org>
Tue, 21 Dec 2010 00:07:11 +0000 (16:07 -0800)
pym/portage/package/ebuild/config.py

index 664075197bc94e2f3f0e64da89022bc019948280..ba6ac21fa34a10fb8421a29eb6d43e02ad3c5882 100644 (file)
@@ -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