summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-04-08 15:46:15 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-04-08 15:46:15 +0000
commit3149d3b91bcec18a6e1ac1f43fefe8c70574b4aa (patch)
tree6ba2320b36513dab013f7f955b1e9ad9c35de5dc
parent7e73b9b31bbe34b4577da5edef8089f5dc7364a7 (diff)
downloadrdiff-backup-3149d3b91bcec18a6e1ac1f43fefe8c70574b4aa.tar.gz
Typo fix reported by Keith Edmunds
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@317 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/rdiff_backup/regress.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/regress.py b/rdiff-backup/rdiff_backup/regress.py
index 7183b87..4246431 100644
--- a/rdiff-backup/rdiff_backup/regress.py
+++ b/rdiff-backup/rdiff_backup/regress.py
@@ -35,7 +35,7 @@ recovered.
from __future__ import generators
import Globals, restore, log, rorpiter, TempFile, metadata, rpath, C, \
- Time, backup
+ Time, backup, robust
# regress_time should be set to the time we want to regress back to
# (usually the time of the last successful backup)
@@ -212,7 +212,7 @@ class RegressITRB(rorpiter.ITRBranch):
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
else:
if rf.mirror_rp.lstat(): rf.mirror_rp.delete()
- if diff_rorp.isspecial():
+ if rf.metadata_rorp.isspecial():
robust.check_common_error(None, rpath.copy_with_attribs,
(rf.metadata_rorp, rf.mirror_rp))
else: rpath.copy_with_attribs(rf.metadata_rorp, rf.mirror_rp)