#!/usr/bin/env python
# vim: set ts=4 sts=4 sw=4 textwidth=92:
-import PAR2Set_NEWRAR
-import PAR2Set_EXTRACTFIRST
+import PAR2Set.ExtractFirstBase
+import PAR2Set.NewRAR
from RarslaveCommon import *
#
# with the PAR2 file itself.
#
-def detect_EF_NEWRAR (name_files, prot_files):
+def detector (name_files, prot_files):
return has_a_match ('^.*\.part0*1\.rar$', name_files) \
and not has_a_match ('^.*\.part0*1\.rar$', prot_files)
-class PAR2Set_EF_NEWRAR (PAR2Set_EXTRACTFIRST.PAR2Set_EXTRACTFIRST,
- PAR2Set_NEWRAR.PAR2Set_NEWRAR):
+class ExtractFirstNewRAR (PAR2Set.ExtractFirstBase.ExtractFirstBase, \
+ PAR2Set.NewRAR.NewRAR):
def __repr__ (self):
return 'EXTRACTFIRST NEWRAR'