From c638e25941d3ce927efa6672f474f3e0c6bf03a7 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Mon, 26 Jan 2015 10:36:11 -0500 Subject: Clean up code Fix typos and remove unused code. --- dotbot/dispatcher.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dotbot/dispatcher.py') diff --git a/dotbot/dispatcher.py b/dotbot/dispatcher.py index 5218aa1..c3c7fe8 100644 --- a/dotbot/dispatcher.py +++ b/dotbot/dispatcher.py @@ -3,9 +3,6 @@ from .executor import Executor from .messenger import Messenger class Dispatcher(object): - PLUGIN_CLASS = Executor - PLUGIN_DIR = 'dotbot/executor' - def __init__(self, base_directory): self._log = Messenger() self._set_base_directory(base_directory) @@ -17,7 +14,7 @@ class Dispatcher(object): if os.path.exists(path): self._base_directory = path else: - raise DispatchError('Nonexistant base directory') + raise DispatchError('Nonexistent base directory') def dispatch(self, tasks): success = True -- cgit v1.2.3