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
/
Join.py
diff --git
a/PAR2Set/Join.py
b/PAR2Set/Join.py
index
bf0dc56
..
c2b055f
100644
(file)
--- a/
PAR2Set/Join.py
+++ b/
PAR2Set/Join.py
@@
-2,7
+2,7
@@
# vim: set ts=4 sts=4 sw=4 textwidth=92:
import logging
# vim: set ts=4 sts=4 sw=4 textwidth=92:
import logging
-import PAR2Set
+import PAR2Set
.Base
from RarslaveCommon import *
#
from RarslaveCommon import *
#
@@
-20,12
+20,12
@@
from RarslaveCommon import *
# work where the PAR2 files are protecting the .001, etc files directly.
#
# work where the PAR2 files are protecting the .001, etc files directly.
#
-def detect
_JOIN
(name_files, prot_files):
+def detect
or
(name_files, prot_files):
return has_a_match ('^.*\.\d\d\d$', name_files) \
and not has_a_match ('^.*\.\d\d\d$', 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'
def __repr__ (self):
return 'JOIN'