From 02e9b17925f6608cde62f6ea3d374ea1c39350c8 Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Wed, 27 Dec 2006 20:18:53 -0800 Subject: [PATCH] [RARSLAVE] Update par2parser calls Update calls to the par2parser class to Par2Parser to reflect the name change made in the previous commit. Signed-off-by: Ira W. Snyder --- rarslave.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rarslave.py b/rarslave.py index bfed51f..49f72b1 100644 --- a/rarslave.py +++ b/rarslave.py @@ -209,7 +209,7 @@ def find_likely_files (dir, p2file): name_matches = [f for f in os.listdir (dir) if regex.match (f)] try: - parsed_matches = par2parser.get_protected_files (dir, p2file) + parsed_matches = Par2Parser.get_protected_files (dir, p2file) except EnvironmentError: parsed_matches = [] logger.addMessage ('Bad par2 file: %s' % p2file, RarslaveLogger.MessageType.Fatal) @@ -281,7 +281,7 @@ def find_extraction_heads (dir, files): for f in p2files: done = False try: - prot_files = par2parser.get_protected_files (dir, f) + prot_files = Par2Parser.get_protected_files (dir, f) done = True except EnvironmentError: logger.addMessage ('Error parsing PAR2 file: %s', f) -- 2.25.1