aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-14 17:24:33 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-14 17:24:33 -0500
commit8a0e1f5e2631629ade9208235531b901bee293cc (patch)
tree06ba06972c121cf8e85725788c8984648050e041
parent556b235c64b28505047681e16ac068e9019a6bba (diff)
downloaddotfiles-8a0e1f5e2631629ade9208235531b901bee293cc.tar.gz
dotfiles-8a0e1f5e2631629ade9208235531b901bee293cc.tar.bz2
dotfiles-8a0e1f5e2631629ade9208235531b901bee293cc.zip
Call internal methods after entry verification
-rw-r--r--dotfiles.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/dotfiles.py b/dotfiles.py
index 098edd1..d84a779 100644
--- a/dotfiles.py
+++ b/dotfiles.py
@@ -161,12 +161,10 @@ class Dotfile(object):
if verbose:
click.echo('MOVE %s -> %s' % (self.name, self.target))
self.name.move(self.target)
- # self._link(verbose)
- self.link(verbose)
+ self._link(verbose)
def _remove(self, verbose):
- # self._unlink(verbose)
- self.unlink(verbose)
+ self._unlink(verbose)
if verbose:
click.echo('MOVE %s -> %s' % (self.target, self.name))
self.target.move(self.name)