repoman: re-use repoman_settings.repositories v2.2.0_alpha185
authorZac Medico <zmedico@gentoo.org>
Mon, 24 Jun 2013 21:21:18 +0000 (14:21 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 24 Jun 2013 21:21:18 +0000 (14:21 -0700)
This avoids constructing a separate instance for each profile.

bin/repoman

index 457da097efb0af39c7081c0378c700f9c0b5a923..e5e6c8fc455b7f129f636dbf7a6c440104345ea1 100755 (executable)
@@ -2255,7 +2255,7 @@ for x in effective_scanlist:
                                                config_root=config_root,
                                                local_config=False,
                                                _unmatched_removal=options.unmatched_removal,
-                                               env=env)
+                                               env=env, repositories=repoman_settings.repositories)
                                        dep_settings.categories = repoman_settings.categories
                                        if options.without_mask:
                                                dep_settings._mask_manager_obj = \