# vim: set ts=4 sts=4 sw=4 textwidth=92:
import logging
-import PAR2Set
+import PAR2Set.Base
from RarslaveCommon import *
#
# work where the PAR2 files are protecting the .001, etc files directly.
#
-def detect_JOIN (name_files, prot_files):
+def detector (name_files, prot_files):
return has_a_match ('^.*\.\d\d\d$', name_files) \
and not has_a_match ('^.*\.\d\d\d$', prot_files)
-class PAR2Set_JOIN (PAR2Set.PAR2Set):
+class Join (PAR2Set.Base.Base):
def __repr__ (self):
return 'JOIN'