/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: Jelmer Vernooij
  • Date: 2020-03-22 01:35:14 UTC
  • mfrom: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200322013514-7vw1ntwho04rcuj3
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
the object is an expensive one for obtaining.
37
37
"""
38
38
 
39
 
from __future__ import absolute_import
40
 
 
41
39
import sys
42
40
 
43
41
from . import errors as errors
101
99
            # _clean_objects
102
100
            # _clean_queue
103
101
            # 1 missing ?
104
 
            if (sys.getrefcount(self._clean_queue[offset]) <= 7 and
105
 
                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):
106
104
                removed = self._clean_queue[offset]
107
105
                self._clean_objects.remove(removed)
108
106
                del self._clean_queue[offset]