~germar/duplicity/par2

« back to all changes in this revision

Viewing changes to duplicity/backend.py

  • Committer: "Kenneth Loafman"
  • Date: 2013-04-27 14:10:11 UTC
  • mfrom: (908.1.13 dpbx-added)
  • Revision ID: kenneth@loafman.com-20130427141011-momfnlswbz8i8ovf
* Merged in lp:~jnoster/duplicity/dpbx-added
  - The application key was approved as "production" one after some changes to the code
    to suit the requirements of Dropbox team (the keys are now obfuscated, for instance).

Show diffs side-by-side

added added

removed removed

Lines of Context:
355
355
            self.retry_count = n+1
356
356
            return fn(self, *args)
357
357
        except Exception, e:
 
358
            log.Debug("Backtrace of previous error: %s"
 
359
                        % exception_traceback())
358
360
            log.FatalError("Giving up after %s attempts. %s: %s"
359
361
                         % (self.retry_count, e.__class__.__name__, str(e)),
360
362
                          log.ErrorCode.backend_error)
361
 
            log.Debug("Backtrace of previous error: %s"
362
 
                        % exception_traceback())
363
363
        self.retry_count = 0
364
364
 
365
365
    return _retry_fatal