diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-20 19:26:02 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-20 19:26:02 +0000 |
commit | 91a5369ef256424d0cc38434c7fd4f4aac1264bd (patch) | |
tree | 17954d13780197e1cbaab5e3ef4e446fa27bfea6 /rdiff-backup/src/main.py | |
parent | 1f4e957cd505f5cd3bcb6902e266b5bad6b17209 (diff) | |
download | rdiff-backup-91a5369ef256424d0cc38434c7fd4f4aac1264bd.tar.gz |
Various bug fixes so it passes tests
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@93 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/main.py')
-rwxr-xr-x | rdiff-backup/src/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/src/main.py b/rdiff-backup/src/main.py index b27dad7..94e5729 100755 --- a/rdiff-backup/src/main.py +++ b/rdiff-backup/src/main.py @@ -348,7 +348,7 @@ went wrong during your last backup? Using """ + mirrorrps[-1].path, 2) """ self.restore_check_paths(rpin, target, 1) try: time = Time.genstrtotime(self.restore_timestr) - except TimeError, exp: Log.FatalError(str(exp)) + except TimeError, exc: Log.FatalError(str(exc)) self.restore_common(rpin, target, time) def restore_common(self, rpin, target, time): @@ -456,7 +456,7 @@ Try restoring from an increment file (the filenames look like (datadir.path,)) try: time = Time.genstrtotime(self.remove_older_than_string) - except TimeError, exp: Log.FatalError(str(exp)) + except TimeError, exc: Log.FatalError(str(exc)) timep = Time.timetopretty(time) Log("Deleting increment(s) before %s" % timep, 4) |