The regular expression for finding the extraction heads of an OldRAR type
was incorrect. This patch adds the missing termination character.
This keeps it from trying to extract files created during repair, such as:
X.rar.1
Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
def find_extraction_heads (self):
"""Find the heads of extraction for an old-style rar set"""
- return rsutil.common.find_matches ('^.*\.rar', self.all_files)
+ return rsutil.common.find_matches ('^.*\.rar$', self.all_files)
def extraction_function (self, file, todir):
"""Extract a single rar file to the given directory.