[yum-cvs] yum-utils repomanage.py,1.7,1.8
Seth Vidal
skvidal at linux.duke.edu
Tue Jun 26 19:13:56 UTC 2007
Update of /home/groups/yum/cvs/yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv15846
Modified Files:
repomanage.py
Log Message:
fix formatting error in repomanage closes rh bug #: 245698
I believe this was caused by a change in BaseException in python 2.5
Index: repomanage.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/repomanage.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- repomanage.py 24 May 2006 15:40:48 -0000 1.7
+++ repomanage.py 26 Jun 2007 19:13:53 -0000 1.8
@@ -34,9 +34,9 @@
class Error(Exception):
- def __init__(self, args=None):
+ def __init__(self, message=None):
Exception.__init__(self)
- self.args = args
+ self.message = message
def errorprint(stuff):
@@ -212,7 +212,7 @@
try:
hdr = returnHdr(ts, pkg)
except Error, e:
- errorprint(e)
+ errorprint(e.message)
continue
pkgtuple = hdr2pkgTuple(hdr)
More information about the Yum-cvs-commits
mailing list