From 3a74687a1fd38df28b30e239fbb77ebfea853d1c Mon Sep 17 00:00:00 2001 From: Luper Rouch Date: Sat, 9 Feb 2013 15:24:36 +0100 Subject: fixed error with --move + --dry-run --- dotfiles/core.py | 5 +++-- 1 file 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) -- cgit v1.2.3