Description of problem: If I rebuild the latest yum: --- snipp --- Compiling /var/tmp/yum-root//usr/lib/python2.3/site-packages/yum/transactioninfo.py ... File "transactioninfo.py", line 36 def add(self, pkgtup) ^ SyntaxError: invalid syntax --- snapp --- Version-Release number of selected component (if applicable): yum-2.1.10-3 How reproducible: Everytime, see below. Steps to Reproduce: 1. Try to rebuild yum-2.1.10-3 from Fedora Development Actual results: Error at rebuilding Expected results: No error at rebuilding Additional info: I'm suggesting the following fix for it: --- snipp --- --- yum-2.1.10/yum/transactioninfo.py 2004-09-08 07:26:03.000000000 +0200 +++ yum-2.1.10/yum/transactioninfo.py.rsc 2004-10-23 11:43:30.000000000 +0200 @@ -33,7 +33,7 @@ return None - def add(self, pkgtup) + def add(self, pkgtup): """add a package to the transaction""" def remove(self, pkgtup): --- snapp ---
transactioninfo.py is not yet used by yum. It is a placeholder for more functions in the future. What command did you use to rebuild yum? I've never encountered that error doing builds of yum.
Well, I simply rebuilt the yum src.rpm package using --rebuild and that error message was in the part where the .pyc files are compiled out of the .py ones.
Ah, so it's a non-fatal message. That may be why I never noticed it. When that file is actually used in yum I'll make sure I get it fixed up. Thanks