Clean up code
This commit is contained in:
parent
5103c10a5f
commit
09a80230f5
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
from .executor import *
|
||||
from .executor import Executor
|
||||
from .messenger import Messenger
|
||||
|
||||
class Dispatcher(object):
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue