duplicity.robust module

duplicity.robust.check_common_error(error_handler, function, args=())[source]

Apply function to args, if error, run error_handler on exception

This only catches certain exceptions which seem innocent enough.

duplicity.robust.listpath(path)[source]

Like path.listdir() but return [] if error, and sort results