/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-26 08:47:44 UTC
  • mfrom: (5340.14.2 2.4-exc-info)
  • Revision ID: pqm@pqm.ubuntu.com-20110526084744-2bim0fu54g836qd2
(jameinel) Delete local 'exc_info' variables when they go out of scope,
 to avoid cycles with the exception tracebacks. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3195
3195
        try:
3196
3196
            target.unlock()
3197
3197
        finally:
3198
 
            raise exc_info[0], exc_info[1], exc_info[2]
 
3198
            try:
 
3199
                raise exc_info[0], exc_info[1], exc_info[2]
 
3200
            finally:
 
3201
                del exc_info
3199
3202
    else:
3200
3203
        target.unlock()
3201
3204
        return result