fix zpaq commands according to the newest zpaq version
This commit is contained in:
parent
0ac2c07872
commit
984102b8ae
|
@ -29,11 +29,12 @@ def list_zpaq(archive, compression, cmd, verbosity):
|
||||||
|
|
||||||
def create_zpaq(archive, compression, cmd, verbosity, filenames):
|
def create_zpaq(archive, compression, cmd, verbosity, filenames):
|
||||||
"""Create a ZPAQ archive."""
|
"""Create a ZPAQ archive."""
|
||||||
cmdlist = [cmd, 'c', archive]
|
cmdlist = [cmd, 'a', archive]
|
||||||
cmdlist.extend(filenames)
|
cmdlist.extend(filenames)
|
||||||
|
cmdlist.extend(['-method', '4'])
|
||||||
return cmdlist
|
return cmdlist
|
||||||
|
|
||||||
|
|
||||||
def test_zpaq(archive, compression, cmd, verbosity):
|
def test_zpaq(archive, compression, cmd, verbosity):
|
||||||
"""Test a ZPAQ archive."""
|
"""Test a ZPAQ archive."""
|
||||||
return [cmd, 'l', archive]
|
return [cmd, 'x', archive, '-test']
|
||||||
|
|
Loading…
Reference in New Issue