~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cleanup.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-04 17:38:09 UTC
  • mfrom: (5805.1.1 no-inventory)
  • Revision ID: pqm@pqm.ubuntu.com-20110504173809-otz0gw0cvf2z9jbk
(jelmer) Avoid using inventories in some repository tests. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
                # but don't propagate them.
189
189
                _run_cleanup(cleanup, *c_args, **kwargs)
190
190
        if exc_info is not None:
191
 
            try:
192
 
                raise exc_info[0], exc_info[1], exc_info[2]
193
 
            finally:
194
 
                del exc_info
 
191
            raise exc_info[0], exc_info[1], exc_info[2]
195
192
        # No error, so we can return the result
196
193
        return result
197
194