/[rdiff-backup]/rdiff-backup/rdiff_backup/restore.py
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/restore.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53 by bescoto, Tue Nov 1 16:46:29 2005 UTC revision 1.54 by bescoto, Thu Nov 3 22:40:04 2005 UTC
# Line 22  Line 22 
22  from __future__ import generators  from __future__ import generators
23  import tempfile, os, cStringIO  import tempfile, os, cStringIO
24  import Globals, Time, Rdiff, Hardlink, rorpiter, selection, rpath, \  import Globals, Time, Rdiff, Hardlink, rorpiter, selection, rpath, \
25             log, static, robust, metadata, statistics, TempFile, eas_acls, hash             log, static, robust, metadata, statistics, TempFile, hash
26    
27    
28  class RestoreError(Exception): pass  class RestoreError(Exception): pass
# Line 177  class MirrorStruct: Line 177  class MirrorStruct:
177                  """                  """
178                  if rest_time is None: rest_time = cls._rest_time                  if rest_time is None: rest_time = cls._rest_time
179    
180                  rorp_iter = eas_acls.GetCombinedMetadataIter(                  if not metadata.ManagerObj: metadata.SetManager()
181                          Globals.rbdir, rest_time, restrict_index = cls.mirror_base.index,                  rorp_iter = metadata.ManagerObj.GetAtTime(rest_time,
182                          acls = Globals.acls_active, eas = Globals.eas_active)                                                                                                    cls.mirror_base.index)
183                  if not rorp_iter:                  if not rorp_iter:
184                          if require_metadata:                          if require_metadata:
185                                  log.Log.FatalError("Mirror metadata not found")                                  log.Log.FatalError("Mirror metadata not found")

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26