projects
/
rarslave2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate all PAR2Set-derived classes to the package notation
[rarslave2.git]
/
PAR2Set
/
OldRAR.py
diff --git
a/PAR2Set/OldRAR.py
b/PAR2Set/OldRAR.py
index
5a099fe
..
9c89069
100644
(file)
--- 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:
#!/usr/bin/env python
# vim: set ts=4 sts=4 sw=4 textwidth=92:
-import PAR2Set
+import PAR2Set
.Base
from RarslaveCommon import *
#
from RarslaveCommon import *
#
@@
-25,11
+25,11
@@
from RarslaveCommon import *
# with the PAR2 file itself.
#
# with the PAR2 file itself.
#
-def detect
_OLDRAR
(name_files, prot_files):
+def detect
or
(name_files, prot_files):
return has_a_match ('^.*\.r00$', prot_files)
return has_a_match ('^.*\.r00$', prot_files)
-class
PAR2Set_OLDRAR (PAR2Set.PAR2Set
):
+class
OldRAR (PAR2Set.Base.Base
):
def __repr__ (self):
return 'OLDRAR'
def __repr__ (self):
return 'OLDRAR'