[yum-cvs] yum yum-updatesd.py,1.25,1.26
Jeremy Katz
katzj at linux.duke.edu
Wed Nov 8 15:23:56 UTC 2006
Update of /home/groups/yum/cvs/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv30757
Modified Files:
yum-updatesd.py
Log Message:
init plugins, fix log config (jbowes)
Index: yum-updatesd.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum-updatesd.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- yum-updatesd.py 6 Nov 2006 21:16:29 -0000 1.25
+++ yum-updatesd.py 8 Nov 2006 15:23:54 -0000 1.26
@@ -114,7 +114,7 @@
"NOTICE": syslog.LOG_NOTICE,
"INFO": syslog.LOG_INFO,
"DEBUG": syslog.LOG_DEBUG }
- if type(lvl) == type(int):
+ if type(lvl) == int:
return lvl
if level_map.has_key(lvl.upper()):
return level_map[lvl.upper()]
@@ -138,7 +138,7 @@
"LOCAL5": syslog.LOG_LOCAL5,
"LOCAL6": syslog.LOG_LOCAL6,
"LOCAL7": syslog.LOG_LOCAL7,}
- if type(facility) == type(int):
+ if type(facility) == int:
return facility
elif facility_map.has_key(facility.upper()):
return facility_map[facility.upper()]
@@ -326,8 +326,7 @@
os.makedirs(self.opts.nonroot_workdir)
self.repos.setCacheDir(self.opts.nonroot_workdir)
- self.doConfigSetup(fn=self.opts.yum_config,
- init_plugins = False)
+ self.doConfigSetup(fn=self.opts.yum_config)
def refreshUpdates(self):
self.doLock(YUM_PID_FILE)
More information about the Yum-cvs-commits
mailing list