Package duplicity :: Module lazy :: Class ITRBranch
[hide private]
[frames] | no frames]

Class ITRBranch

source code

Helper class for IterTreeReducer above

There are five stub functions below: start_process, end_process, branch_process, fast_process, and can_fast_process. A class that subclasses this one will probably fill in these functions to do more.

Instance Methods [hide private]
 
branch_process(self, branch)
Process a branch right after it is finished (stub)
source code
 
call_end_proc(self)
Runs the end_process on self, checking for errors
source code
 
can_fast_process(self, *args)
True if object can be processed without new branch (stub)
source code
 
end_process(self)
Do any final processing before leaving branch (stub)
source code
 
fast_process(self, *args)
Process args without new child branch (stub)
source code
 
log_prev_error(self, index)
Call function if no pending exception
source code
 
on_error(self, exc, *args)
This is run on any exception in start/end-process
source code
 
start_process(self, *args)
Do some initial processing (stub)
source code
Class Variables [hide private]
  base_index = None
hash(x)
  caught_exception = None
hash(x)
  finished = None
hash(x)
  index = None
hash(x)
  start_successful = None
hash(x)