diff options
author | Anish Athalye <me@anishathalye.com> | 2015-01-26 10:36:11 -0500 |
---|---|---|
committer | Anish Athalye <me@anishathalye.com> | 2015-01-26 10:36:11 -0500 |
commit | c638e25941d3ce927efa6672f474f3e0c6bf03a7 (patch) | |
tree | 981745586583b02249d235f16905a6b3dd471d8e /dotbot/dispatcher.py | |
parent | 2865477dca87c5e2dd8e4eb817e218c657a5aa9f (diff) |
Clean up code
Fix typos and remove unused code.
Diffstat (limited to 'dotbot/dispatcher.py')
-rw-r--r-- | dotbot/dispatcher.py | 5 |
1 files changed, 1 insertions, 4 deletions
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 |