[yum-commits] package-cleanup.py

Tim Lauridsen timlau at osuosl.org
Mon Feb 1 20:12:38 UTC 2010


 package-cleanup.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c851478ee2e042fc13b78ddf111f7d8cbcc7da36
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date:   Mon Feb 1 21:12:14 2010 +0100

    fix UnicodeDecode Error in package-cleanup for some locales like de_DE.utf8 (rhbz #560369)

diff --git a/package-cleanup.py b/package-cleanup.py
index 81f5a57..3f5507f 100755
--- a/package-cleanup.py
+++ b/package-cleanup.py
@@ -301,7 +301,7 @@ class PackageCleanup(YumUtilBase):
         opts = self.doUtilConfigSetup()
         if not exactlyOne([opts.problems, opts.dupes, opts.leaves, opts.kernels,
                            opts.orphans, opts.cleandupes]):
-            self.optparser.print_help()
+            print self.optparser.format_help()
             sys.exit(1)
 
         if self.conf.uid != 0:


More information about the Yum-commits mailing list