~duplicity-team/duplicity/0.7-series

« back to all changes in this revision

Viewing changes to duplicity/robust.py

  • Committer: Kenneth Loafman
  • Date: 2014-12-12 14:39:54 UTC
  • Revision ID: kenneth@loafman.com-20141212143954-wyln65yd1ynzsrlx
* Source formatted, using PyDev, all source files to fix some easily fixed
  PEP8 issues. Use ignore space when comparing against previous versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
tmp_file_index = 1
25
25
 
26
 
def check_common_error(error_handler, function, args = ()):
 
26
def check_common_error(error_handler, function, args=()):
27
27
    """Apply function to args, if error, run error_handler on exception
28
28
 
29
29
    This only catches certain exceptions which seem innocent