summaryrefslogtreecommitdiff
path: root/dotbot/plugins/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'dotbot/plugins/shell.py')
-rw-r--r--dotbot/plugins/shell.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/dotbot/plugins/shell.py b/dotbot/plugins/shell.py
index 6fe79b8..f0121e6 100644
--- a/dotbot/plugins/shell.py
+++ b/dotbot/plugins/shell.py
@@ -11,16 +11,7 @@ class Shell(dotbot.Plugin):
_directive = 'shell'
- def can_handle(self, directive):
- return directive == self._directive
-
def handle(self, directive, data):
- if directive != self._directive:
- raise ValueError('Shell cannot handle directive %s' %
- directive)
- return self._process_commands(data)
-
- def _process_commands(self, data):
success = True
defaults = self._context.defaults().get('shell', {})
for item in data: