[yum-git] repodiff.py
Seth Vidal
skvidal at linux.duke.edu
Fri Apr 4 04:30:39 UTC 2008
repodiff.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 57ccca967335ae75e9e97f5543722da5b94aa05a
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Fri Apr 4 00:28:26 2008 -0400
fix for listing modified pkgs correctly.
diff --git a/repodiff.py b/repodiff.py
index 07049a6..b38994f 100755
--- a/repodiff.py
+++ b/repodiff.py
@@ -71,7 +71,8 @@ class DiffYum(yum.YumBase):
if len(tot) > 1:
if oldsack.contains(name=pkg.name):
newest_old = oldsack.returnNewestByName(name=pkg.name)[0]
- modified.append((pkg, newest_old))
+ if newest_old.EVR != pkg.EVR:
+ modified.append((pkg, newest_old))
else:
add.append(pkg)
More information about the Yum-cvs-commits
mailing list