[yum-cvs] yum/yum __init__.py,1.89,1.90

Seth Vidal skvidal at login.linux.duke.edu
Thu Mar 3 07:44:59 UTC 2005


Update of /home/groups/yum/cvs/yum/yum
In directory login:/tmp/cvs-serv1816

Modified Files:
	__init__.py 
Log Message:

pychecker found some rather dumb, and apparently infrequently encountered
problems.


Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- __init__.py	2 Mar 2005 16:51:20 -0000	1.89
+++ __init__.py	3 Mar 2005 07:44:57 -0000	1.90
@@ -81,7 +81,7 @@
                 try:
                     thisrepo = config.cfgParserRepo(section, self.conf, self.conf.cfg)
                 except (Errors.RepoError, Errors.ConfigError), e:
-                    self.errorlog(e)
+                    self.errorlog(2, e)
                     continue
                 else:
                     reposlist.append(thisrepo)
@@ -105,14 +105,14 @@
                 try:
                     cfg, sections = config.parseDotRepo(fn)
                 except Errors.ConfigError, e:
-                    self.errorlog(e)
+                    self.errorlog(2, e)
                     continue
 
                 for section in sections:
                     try:
                         thisrepo = config.cfgParserRepo(section, self.conf, cfg)
                     except (Errors.RepoError, Errors.ConfigError), e:
-                        self.errorlog(e)
+                        self.errorlog(2, e)
                         continue
                     else:
                         reposlist.append(thisrepo)
@@ -122,7 +122,7 @@
             try:
                 self.repos.add(thisrepo)
             except Errors.RepoError, e: 
-                self.errorlog(e)
+                self.errorlog(2, e)
                 continue
         
     def doTsSetup(self):




More information about the Yum-cvs-commits mailing list