[yum-cvs] /yum-utils/plugins/changelog changelog.py,1.11,1.12
Tim Lauridsen
timlau at linux.duke.edu
Mon Feb 19 12:32:20 UTC 2007
Update of /home/groups/yum/cvs//yum-utils/plugins/changelog
In directory login1.linux.duke.edu:/tmp/cvs-serv32581/plugins/changelog
Modified Files:
changelog.py
Log Message:
changed 'with=' to 'mdtype=' in repos.populateSack calls, because of changes
in the yum API in YumPackageSack.populate method to avoid warnings about 'with' is a reserved word in Python 2.6.
Index: changelog.py
===================================================================
RCS file: /home/groups/yum/cvs//yum-utils/plugins/changelog/changelog.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- changelog.py 29 Sep 2006 12:50:29 -0000 1.11
+++ changelog.py 19 Feb 2007 12:32:18 -0000 1.12
@@ -75,7 +75,7 @@
if changelog:
repos = conduit.getRepos()
- repos.populateSack(with='otherdata')
+ repos.populateSack(mdtype='otherdata')
def postresolve_hook(conduit):
if not changelog:
More information about the Yum-cvs-commits
mailing list