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))