[yum-commits] 2 commits - repodiff.py
skvidal at osuosl.org
skvidal at osuosl.org
Tue Oct 21 16:01:36 UTC 2008
repodiff.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 7722f41dc4242ad1030465625c3f285f1b5bce9b
Merge: 4cabfd5... 1102eda...
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Tue Oct 21 12:01:18 2008 -0400
Merge branch 'master' of ssh://yum.baseurl.org/srv/projects/yum/git/yum-utils
* 'master' of ssh://yum.baseurl.org/srv/projects/yum/git/yum-utils:
Don't check for unfinished transactions when completing transactions
commit 4cabfd56e3647316193b3120ad4ac1b66568a15e
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Tue Oct 21 12:01:07 2008 -0400
fix unicode issues on outputting changelogs
diff --git a/repodiff.py b/repodiff.py
index eeb4eaf..a1cd793 100755
--- a/repodiff.py
+++ b/repodiff.py
@@ -21,6 +21,7 @@ import time
import os
import locale
import shutil
+from yum.misc import to_unicode
from optparse import OptionParser
@@ -211,7 +212,8 @@ def main(args):
clogdelta = []
for (t, author, content) in pkg.changelog:
if t > oldtime:
- msg += "* %s %s\n%s\n\n" % (time.ctime(int(t)), author, content)
+ msg += "* %s %s\n%s\n\n" % (time.ctime(int(t)),
+ to_unicode(author), to_unicode(content))
if opts.size:
sizechange = int(pkg.size) - int(oldpkg.size)
total_sizechange += sizechange
More information about the Yum-commits
mailing list