[yum-commits] repomanage.py

skvidal at osuosl.org skvidal at osuosl.org
Mon Aug 2 16:05:32 UTC 2010


 repomanage.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7bc530eb9624542da93c4cf19dcfffe115aafd97
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Aug 2 12:05:03 2010 -0400

    get rid of exception.message deprecated use

diff --git a/repomanage.py b/repomanage.py
index 18c06fe..ff77e0d 100755
--- a/repomanage.py
+++ b/repomanage.py
@@ -43,7 +43,7 @@ def getFileList(path, ext, filelist):
     try:
         dir_list = os.listdir(path)
     except OSError, e:
-        errorprint('Error accessing directory %s, %s' % (path, e.message))
+        errorprint('Error accessing directory %s, %s' % (path, str(e)))
         return []
         
     for d in dir_list:


More information about the Yum-commits mailing list