diff options
author | Luper Rouch <luper.rouch@gmail.com> | 2013-02-09 15:24:36 +0100 |
---|---|---|
committer | Luper Rouch <luper.rouch@gmail.com> | 2013-02-09 15:24:36 +0100 |
commit | 3a74687a1fd38df28b30e239fbb77ebfea853d1c (patch) | |
tree | 0de367a9da4795564fa9326f66bd6461d3480243 | |
parent | 874926074b973240973ea822400b825a6158e018 (diff) | |
download | dotfiles-3a74687a1fd38df28b30e239fbb77ebfea853d1c.tar.gz dotfiles-3a74687a1fd38df28b30e239fbb77ebfea853d1c.tar.bz2 dotfiles-3a74687a1fd38df28b30e239fbb77ebfea853d1c.zip |
fixed error with --move + --dry-run
-rw-r--r-- | dotfiles/core.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dotfiles/core.py b/dotfiles/core.py index d29c6ae..90a9ba4 100644 --- a/dotfiles/core.py +++ b/dotfiles/core.py @@ -230,5 +230,6 @@ class Dotfiles(object): self.repository = target - self._load() - self.sync(force=True) + if not self.dry_run: + self._load() + self.sync(force=True) |