The check option in options causes ValueError

The crc32 check we want is the default anyway,
so we don't need to specify it.
This commit is contained in:
Martin Gracik 2011-02-22 18:18:00 +01:00
parent 0ce2dc14e4
commit 8e9f96c12a
1 changed files with 1 additions and 2 deletions

View File

@ -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()