[yum-cvs] yum-utils repomanage.py,1.8,1.9

Seth Vidal skvidal at linux.duke.edu
Tue Jun 26 19:24:22 UTC 2007


Update of /home/groups/yum/cvs/yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv17680

Modified Files:
	repomanage.py 
Log Message:

clean up some other calls to that particular exception


Index: repomanage.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repomanage.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- repomanage.py	26 Jun 2007 19:13:53 -0000	1.8
+++ repomanage.py	26 Jun 2007 19:24:20 -0000	1.9
@@ -105,8 +105,8 @@
     try:
         dir_list = os.listdir(path)
     except OSError, e:
-        errorprint('Error accessing directory %s, %s' % (path, e))
-        raise Error, 'Error accessing directory %s, %s' % (path, e)
+        errorprint('Error accessing directory %s, %s' % (path, e.message))
+        raise Error, 'Error accessing directory %s, %s' % (path, e.message)
         
     for d in dir_list:
         if os.path.isdir(path + '/' + d):




More information about the Yum-cvs-commits mailing list