From d3715fe888fad47fc19df65eaee7ae70e9e5674b Mon Sep 17 00:00:00 2001 From: Ivan Kozik Date: Sat, 18 Jul 2015 11:00:33 +0000 Subject: [PATCH] Dup -> Dupe --- libgrabsite/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgrabsite/plugin.py b/libgrabsite/plugin.py index cec1b68..d92c833 100644 --- a/libgrabsite/plugin.py +++ b/libgrabsite/plugin.py @@ -18,7 +18,7 @@ class NoFsyncSQLTable(SQLiteURLTable): connection.execute('PRAGMA synchronous=OFF') -class DupSpottingProcessingRule(wpull.processor.rule.ProcessingRule): +class DupeSpottingProcessingRule(wpull.processor.rule.ProcessingRule): def __init__(self, *args, **kwargs): self.dupes_db = kwargs.pop('dupes_db', None) super().__init__(*args, **kwargs) @@ -62,5 +62,5 @@ else: wpull_plugin.factory.class_map['URLTableImplementation'] = NoFsyncSQLTable wpull_plugin.factory.class_map['ProcessingRule'] = functools.partial( - DupSpottingProcessingRule, dupes_db=dupes_db + DupeSpottingProcessingRule, dupes_db=dupes_db )