X-Git-Url: https://www.irasnyder.com/gitweb/?p=rarslave2.git;a=blobdiff_plain;f=PAR2Set%2FJoin.py;fp=PAR2Set%2FJoin.py;h=c2b055f5ca4ca7f2ad1172fc1570428cae72adb8;hp=bf0dc56563aa09d9adbf9cd29ceee8a184df0bef;hb=807fadd16633dba83c40d863a3d38a43a00f1e61;hpb=915d5e7efd472b541ca06bd4b28ce3ab2e0e7efc diff --git a/PAR2Set/Join.py b/PAR2Set/Join.py index bf0dc56..c2b055f 100644 --- a/PAR2Set/Join.py +++ b/PAR2Set/Join.py @@ -2,7 +2,7 @@ # vim: set ts=4 sts=4 sw=4 textwidth=92: import logging -import PAR2Set +import PAR2Set.Base from RarslaveCommon import * # @@ -20,12 +20,12 @@ 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'