FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 02-17-2009, 01:30 PM
"Jeffrey C. Ollie"
 
Default yumbase._getConfig() doesn't take any arguments, use yumbase.preconf to set yum up.

Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
---
builder/mergerepos | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/builder/mergerepos b/builder/mergerepos
index 4243444..defb8c1 100755
--- a/builder/mergerepos
+++ b/builder/mergerepos
@@ -95,7 +95,10 @@ class RepoMerge(object):
self.mdconf.verbose = True
self.mdconf.changelog_limit = 3
self.yumbase = yum.YumBase()
- self.yumbase._getConfig('/dev/null', init_plugins=False, debuglevel=2)
+ self.yumbase.preconf.fn = '/dev/null'
+ self.yumbase.preconf.init_plugins = False
+ self.yumbase.preconf.debuglevel = 2
+ self.yumbase._getConfig()
self.yumbase.conf.cachedir = tempfile.mkdtemp()
self.yumbase.conf.cache = 0
self.archlist = arches
--
1.6.0.6

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 

Thread Tools




All times are GMT. The time now is 11:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org