From 1d39cdf4d9684b8e0cc20de69135b1a79b002eb4 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 1 May 2002 06:12:51 +0000 Subject: See changelog for 0.6.1 git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-6@54 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/src/robust.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rdiff-backup/src/robust.py') diff --git a/rdiff-backup/src/robust.py b/rdiff-backup/src/robust.py index c23ff6a..5a7f82e 100644 --- a/rdiff-backup/src/robust.py +++ b/rdiff-backup/src/robust.py @@ -295,8 +295,8 @@ class SaveState: def touch_last_file(cls): """Touch last file marker, indicating backup has begun""" - cls._last_file_sym.touch() - + if not cls._last_file_sym.lstat(): cls._last_file_sym.touch() + def touch_last_file_definitive(cls): """Create last-file-definitive marker @@ -403,6 +403,7 @@ class Resume: def SetSessionInfo(cls): """Read data directory and initialize _session_info""" + assert Globals.isbackup_writer silist = [] rp_quad_dict = cls.group_rps_by_time(cls.get_relevant_rps()) times = rp_quad_dict.keys() -- cgit v1.2.1