diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-01-03 21:32:40 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-01-03 21:32:40 +0000 |
commit | e389196e3426dde8957d38b4da8135489f80ae6a (patch) | |
tree | 3587f866840f836a45cce53ae8d62cc52cc63179 /rdiff-backup/rdiff_backup/Main.py | |
parent | 7976fa4fe271017ae13f897968306cdd7d1641ea (diff) | |
download | rdiff-backup-e389196e3426dde8957d38b4da8135489f80ae6a.tar.gz |
Properly fix escaping DOS devices and trailing periods and spaces; now supports
native Windows and Linxu/FAT32.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@993 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Main.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/Main.py | 3 |
1 files changed, 2 insertions, 1 deletions
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") |