Commit baa95139 authored by bescoto's avatar bescoto

Typo fix reported by Keith Edmunds


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@317 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 9414661e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment