summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/main.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-06-12 04:05:27 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-06-12 04:05:27 +0000
commit911005b19c2d5e1d3b71de1d0b7cbbeee9d449a0 (patch)
treec08eab90cfd791bc421efd8acc0a379debd7ccc0 /rdiff-backup/src/main.py
parent80dfd376f76ec3a102803eb3dac6bf7c10d678b8 (diff)
downloadrdiff-backup-911005b19c2d5e1d3b71de1d0b7cbbeee9d449a0.tar.gz
Fixed '-r now' bug, and some minor typo fixes
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@121 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/main.py')
-rwxr-xr-xrdiff-backup/src/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/src/main.py b/rdiff-backup/src/main.py
index f050435..e8a15af 100755
--- a/rdiff-backup/src/main.py
+++ b/rdiff-backup/src/main.py
@@ -356,7 +356,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, exc: Log.FatalError(str(exc))
+ except TimeException, exc: Log.FatalError(str(exc))
self.restore_common(rpin, target, time)
def restore_common(self, rpin, target, time):
@@ -383,7 +383,7 @@ Try restoring from an increment file (the filenames look like
if not rpout: rpout = RPath(Globals.local_connection,
rpin.getincbase_str())
if rpout.lstat():
- Log.FatalError("Restore target %s already exists,"
+ Log.FatalError("Restore target %s already exists, "
"and will not be overwritten." % rpout.path)
return rpin, rpout