From 0dbb9698b0d1441a91598993bf9aa5430003e6c8 Mon Sep 17 00:00:00 2001 From: owsla Date: Sat, 3 Jan 2009 18:38:59 +0000 Subject: First pass at fixing escape DOS devices and trailing spaces/periods. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@991 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/Main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rdiff-backup/rdiff_backup/Main.py') diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py index d4aa48a..47246f6 100644 --- a/rdiff-backup/rdiff_backup/Main.py +++ b/rdiff-backup/rdiff_backup/Main.py @@ -860,7 +860,8 @@ def checkdest_need_check(dest_rp): """Return None if no dest dir found, 1 if dest dir needs check, 0 o/w""" if not dest_rp.isdir() or not Globals.rbdir.isdir(): return None for filename in Globals.rbdir.listdir(): - if filename not in ['chars_to_quote', 'backup.log']: break + if filename not in ['chars_to_quote', 'special_escapes', + 'backup.log']: break else: # This may happen the first backup just after we test for quoting return None curmirroot = Globals.rbdir.append("current_mirror") -- cgit v1.2.1