From befd1848ac37ff90f4c0efbb228c3f531f808962 Mon Sep 17 00:00:00 2001 From: moyiz Date: Fri, 5 May 2017 17:42:55 +0300 Subject: [PATCH] pep8 --- dotdrop/dotdrop.py | 5 +++-- dotdrop/installer.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 23f108d..176a6f0 100755 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -34,7 +34,8 @@ Usage: [(-f | --force)] [--nodiff] [--dry] dotdrop.py compare [--profile=] [--cfg=] dotdrop.py list [--cfg=] - dotdrop.py import [(-l | --link)] [--cfg=] [--profile=] [--dry] ... + dotdrop.py import [--profile=] [--cfg=] + [(-l | --link)] [--dry] ... dotdrop.py (-h | --help) dotdrop.py (-v | --version) @@ -43,7 +44,7 @@ Options: --cfg= Path to the config [default: %s/config.yaml]. --dry Dry run. --nodiff Do not diff when installing [default: False]. - -l --link Import the file and add a link to it [default: False]. + -l --link Import and link [default: False]. -f --force Do not warn if exists [default: False]. -v --version Show version. -h --help Show this screen. diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 23a8dfb..7581c3a 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -41,11 +41,11 @@ class Installer: self.log.sub('ignoring "%s", link exists' % dst) return [] if self.dry: - self.log.dry('would remove %s and link it to %s'\ + self.log.dry('would remove %s and link it to %s' % (dst, src)) return [] if self.safe and \ - not self.log.ask('Remove "%s" for link creation?' % dst): + not self.log.ask('Remove "%s" for link creation?' % dst): self.log.warn('ignoring "%s", link was not created' % dst) return [] try: