X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=PAR2Set%2FOldRAR.py;fp=PAR2Set%2FOldRAR.py;h=9c89069817ed16d788c68b7c48fd07ab0207edfa;hb=807fadd16633dba83c40d863a3d38a43a00f1e61;hp=5a099febab508c7752dd08e191691ba3ed9e807c;hpb=915d5e7efd472b541ca06bd4b28ce3ab2e0e7efc;p=rarslave2.git diff --git a/PAR2Set/OldRAR.py b/PAR2Set/OldRAR.py index 5a099fe..9c89069 100644 --- a/PAR2Set/OldRAR.py +++ b/PAR2Set/OldRAR.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # vim: set ts=4 sts=4 sw=4 textwidth=92: -import PAR2Set +import PAR2Set.Base from RarslaveCommon import * # @@ -25,11 +25,11 @@ from RarslaveCommon import * # with the PAR2 file itself. # -def detect_OLDRAR (name_files, prot_files): +def detector (name_files, prot_files): return has_a_match ('^.*\.r00$', prot_files) -class PAR2Set_OLDRAR (PAR2Set.PAR2Set): +class OldRAR (PAR2Set.Base.Base): def __repr__ (self): return 'OLDRAR'