summaryrefslogtreecommitdiff
path: root/dotbot
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2014-08-20 13:58:42 -0700
committerAnish Athalye <me@anishathalye.com>2014-08-20 14:00:00 -0700
commit09a80230f55c6913e86ab38ad20fd8836c42a56d (patch)
tree586893021bca5a6d63e67e507746c3380cca2582 /dotbot
parent5103c10a5fcf345de42ad949b8c2265560781f64 (diff)
Clean up code
Diffstat (limited to 'dotbot')
-rw-r--r--dotbot/dispatcher.py2
-rw-r--r--dotbot/executor/linker.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/dotbot/dispatcher.py b/dotbot/dispatcher.py
index 35b0889..5218aa1 100644
--- a/dotbot/dispatcher.py
+++ b/dotbot/dispatcher.py
@@ -1,5 +1,5 @@
import os
-from .executor import *
+from .executor import Executor
from .messenger import Messenger
class Dispatcher(object):
diff --git a/dotbot/executor/linker.py b/dotbot/executor/linker.py
index bd0b909..60c76b5 100644
--- a/dotbot/executor/linker.py
+++ b/dotbot/executor/linker.py
@@ -62,7 +62,7 @@ class Linker(Executor):
elif not self._exists(link_name) and self._exists(source):
try:
os.symlink(source, os.path.expanduser(link_name))
- except OSError as e:
+ except OSError:
self._log.warning('Linking failed %s -> %s' % (link_name, source))
else:
self._log.lowinfo('Creating link %s -> %s' % (link_name, source))