diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-06 08:24:33 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-06 08:24:33 +0000 |
commit | b7a0ecb76cdc4e5e4412cd4e0dff488ba32fc933 (patch) | |
tree | 80df5ee5bb10dc3d5dc137af2207c0fd946cb58e | |
parent | 6ac0e177ae49c4f07c550d4b4d56913a58444b4e (diff) | |
download | rdiff-backup-b7a0ecb76cdc4e5e4412cd4e0dff488ba32fc933.tar.gz |
Fixed SelectError error message
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@378 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r-- | rdiff-backup/rdiff_backup/selection.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rdiff-backup/rdiff_backup/selection.py b/rdiff-backup/rdiff_backup/selection.py index 29b12e8..671ee97 100644 --- a/rdiff-backup/rdiff_backup/selection.py +++ b/rdiff-backup/rdiff_backup/selection.py @@ -262,7 +262,8 @@ class Select: elif opt == "--include-regexp": self.add_selection_func(self.regexp_get_sf(arg, 1)) else: assert 0, "Bad selection option %s" % opt - except IOError: pass#SelectError, e: self.parse_catch_error(e) + except IOError: pass + except SelectError, e: self.parse_catch_error(e) assert filelists_index == len(filelists) self.parse_last_excludes() @@ -273,9 +274,9 @@ class Select: if isinstance(exc, FilePrefixError): log.Log.FatalError( """Fatal Error: The file specification -' %s' + '%s' cannot match any files in the base directory -' %s' + '%s' Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory.""" % (exc, self.prefix)) |