genpkgmetadata.py

[email protected] Tue, 3 Jan 2012 22:20:40 +0000 (UTC)
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 genpkgmetadata.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 998e73a3268975f220fd4287988895f95dd43734
Author: Seth Vidal <[email protected]>
Date:   Tue Jan 3 17:19:52 2012 -0500

    fix --xz options with compat compress type

diff --git a/genpkgmetadata.py b/genpkgmetadata.py
index 63fb85b..ce8e452 100755
--- a/genpkgmetadata.py
+++ b/genpkgmetadata.py
@@ -164,7 +164,7 @@ def parse_args(args, conf):
         opts.database = False
     
     # xz is just a shorthand for compress_type
-    if opts.xz and not opts.compress_type:
+    if opts.xz and opts.compress_type == 'compat':
         opts.compress_type='xz'