From 866b36115a2f0eac1dd49732ace34f4790e4b9f2 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 e6a5822a..96748901 100644 --- a/src/pylorax/installtree.py +++ b/src/pylorax/installtree.py @@ -535,8 +535,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()