Set local_config=False in config constructor calls, since egencache is similar
authorZac Medico <zmedico@gentoo.org>
Sat, 11 Apr 2009 21:06:57 +0000 (21:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 11 Apr 2009 21:06:57 +0000 (21:06 -0000)
to repoman in the way that it's used to distribute something to other users
and thus site-specific local configuration is irrelevant.

svn path=/main/trunk/; revision=13323

bin/egencache

index 4103651d50d44b3eb1f6f337929a303c2e94a099..a9dc767b449b4a9301dcd4c5c022d30ec42bd401 100755 (executable)
@@ -277,7 +277,7 @@ def egencache_main(args):
                env['PORTAGE_DEPCACHEDIR'] = options.cache_dir
 
        settings = portage.config(config_root=config_root,
-               target_root='/', env=env)
+               target_root='/', local_config=False, env=env)
 
        default_opts = None
        if not options.ignore_default_opts:
@@ -293,7 +293,7 @@ def egencache_main(args):
                        env['PORTAGE_DEPCACHEDIR'] = options.cache_dir
 
                settings = portage.config(config_root=config_root,
-                       target_root='/', env=env)
+                       target_root='/', local_config=False, env=env)
 
        if not options.update:
                parser.error('No action specified (--update ' + \