From 8e9f96c12ab96844d3f34ef900a20dd9d0e6a369 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 22 Feb 2011 18:18:00 +0100 Subject: [PATCH] The check option in options causes ValueError The crc32 check we want is the default anyway, so we don't need to specify it. --- src/pylorax/installtree.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py index f936181c..04fac150 100644 --- a/src/pylorax/installtree.py +++ b/src/pylorax/installtree.py @@ -506,8 +506,7 @@ class LoraxInstallTree(BaseLoraxClass): compressed = gzip.open(initrd.fpath, "wb") elif type == "xz": compressed = lzma.LZMAFile(initrd.fpath, "w", - options={"format":"xz", "check":"crc32", - "level":9}) + options={"format":"xz", "level":9}) compressed.write(cpio.stdout.read()) compressed.close()