#!/usr/bin/env python
# vim: set ts=4 sts=4 sw=4 textwidth=92:
-import PAR2Set
+import PAR2Set.Base
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'