From b0847b2b4ce2a18652c167b5c85efe92a22713a4 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 2 May 2018 20:36:21 +0200 Subject: [PATCH] remove un-needed str --- dotdrop/dotdrop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 55ccdbc..0d4861e 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -78,7 +78,7 @@ def install(opts, conf): dotfiles = conf.get_dotfiles(opts['profile']) if dotfiles == []: LOG.err('no dotfiles defined for this profile (\"%s\")' % - (str(opts['profile']))) + (opts['profile'])) return False t = Templategen(base=opts['dotpath']) 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']) if dotfiles == []: LOG.err('no dotfiles defined for this profile (\"%s\")' % - (str(opts['profile']))) + (opts['profile'])) return True t = Templategen(base=opts['dotpath']) inst = Installer(create=opts['create'], backup=opts['backup'],