mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 09:49:17 +00:00
remove un-needed str
This commit is contained in:
@@ -78,7 +78,7 @@ def install(opts, conf):
|
|||||||
dotfiles = conf.get_dotfiles(opts['profile'])
|
dotfiles = conf.get_dotfiles(opts['profile'])
|
||||||
if dotfiles == []:
|
if dotfiles == []:
|
||||||
LOG.err('no dotfiles defined for this profile (\"%s\")' %
|
LOG.err('no dotfiles defined for this profile (\"%s\")' %
|
||||||
(str(opts['profile'])))
|
(opts['profile']))
|
||||||
return False
|
return False
|
||||||
t = Templategen(base=opts['dotpath'])
|
t = Templategen(base=opts['dotpath'])
|
||||||
inst = Installer(create=opts['create'], backup=opts['backup'],
|
inst = Installer(create=opts['create'], backup=opts['backup'],
|
||||||
@@ -126,7 +126,7 @@ def compare(opts, conf, tmp, focus=None):
|
|||||||
dotfiles = conf.get_dotfiles(opts['profile'])
|
dotfiles = conf.get_dotfiles(opts['profile'])
|
||||||
if dotfiles == []:
|
if dotfiles == []:
|
||||||
LOG.err('no dotfiles defined for this profile (\"%s\")' %
|
LOG.err('no dotfiles defined for this profile (\"%s\")' %
|
||||||
(str(opts['profile'])))
|
(opts['profile']))
|
||||||
return True
|
return True
|
||||||
t = Templategen(base=opts['dotpath'])
|
t = Templategen(base=opts['dotpath'])
|
||||||
inst = Installer(create=opts['create'], backup=opts['backup'],
|
inst = Installer(create=opts['create'], backup=opts['backup'],
|
||||||
|
|||||||
Reference in New Issue
Block a user