[JOIN] Fix removal of protected files
authorIra W. Snyder <devel@irasnyder.com>
Mon, 8 Jan 2007 03:58:18 +0000 (19:58 -0800)
committerIra W. Snyder <devel@irasnyder.com>
Mon, 8 Jan 2007 03:58:18 +0000 (19:58 -0800)
commit663cfde9556accb7d3e24227dec20e2bc84e431d
tree6a4d1c1ef5a4ec30987be1ebfc1b0a991cba12b8
parent44cd23f16a5a184adb1d8890633a0e432a2e5636
[JOIN] Fix removal of protected files

In the join case, since we are not extracting files, we don't really want
to remove the files. So, in this case, remove all files that the
delete_regex matches, but not the files that are protected.

This fixes the following case:
==========================================
X.rar.par2
X.rar.vol0+1.par2
...
X.rar.001
X.rar.002
...

Where X.rar is the only protected file. When the process completes, X.rar
will be the only file left.

Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
PAR2Set/Join.py