diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-10-25 06:36:04 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-10-25 06:36:04 +0000 |
commit | 2813afdc4608d88b31f841f1526b2b5ab7fa7f8a (patch) | |
tree | 8347288b8032472a57644a58b2b448d4da48209e /rdiff-backup/rdiff_backup | |
parent | 88d21c76f76b0f6afa7dd851b148a8481830e707 (diff) | |
download | rdiff-backup-2813afdc4608d88b31f841f1526b2b5ab7fa7f8a.tar.gz |
update to no-compression-regexp
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-0@657 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r-- | rdiff-backup/rdiff_backup/Globals.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/Globals.py b/rdiff-backup/rdiff_backup/Globals.py index 9a34238..076c662 100644 --- a/rdiff-backup/rdiff_backup/Globals.py +++ b/rdiff-backup/rdiff_backup/Globals.py @@ -167,8 +167,9 @@ compression = 1 # case-insensitive regular expression won't be compressed (applies # to .snapshots and .diffs). The second below will be the # compiled version of the first. -no_compression_regexp_string = "(?i).*\\.(gz|z|bz|bz2|tgz|zip|rpm|deb|" \ - "jpg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov|flac|shn)$" +no_compression_regexp_string = ("(?i).*\\.(gz|z|bz|bz2|tgz|zip|rpm|deb|" + "jpg|jpeg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov|flac|shn|pgp|" + "gpg|rz|lzh|zoo|lharc|rar|arj|asc)$") no_compression_regexp = None # If true, filelists and directory statistics will be split on |