/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 breezy/transactions.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-08-23 01:15:41 UTC
  • mfrom: (7520.1.4 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200823011541-nv0oh7nzaganx2qy
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/389690

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
import sys
40
40
 
41
 
import bzrlib.errors as errors
42
 
from bzrlib.identitymap import IdentityMap, NullIdentityMap
43
 
from bzrlib.trace import mutter
 
41
from . import errors as errors
 
42
from .identitymap import IdentityMap, NullIdentityMap
 
43
from .trace import mutter
44
44
 
45
45
 
46
46
class ReadOnlyTransaction(object):
99
99
            # _clean_objects
100
100
            # _clean_queue
101
101
            # 1 missing ?
102
 
            if (sys.getrefcount(self._clean_queue[offset]) <= 7 and
103
 
                not self._clean_queue[offset] in self._precious_objects):
 
102
            if (sys.getrefcount(self._clean_queue[offset]) <= 7
 
103
                    and not self._clean_queue[offset] in self._precious_objects):
104
104
                removed = self._clean_queue[offset]
105
105
                self._clean_objects.remove(removed)
106
106
                del self._clean_queue[offset]