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

  • Committer: John Ferlito
  • Date: 2009-09-02 04:31:45 UTC
  • mto: (4665.7.1 serve-init)
  • mto: This revision was merged to the branch mainline in revision 4913.
  • Revision ID: johnf@inodes.org-20090902043145-gxdsfw03ilcwbyn5
Add a debian init script for bzr --serve

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
import sys
40
40
 
41
 
from . import errors as errors
42
 
from .identitymap import IdentityMap, NullIdentityMap
43
 
from .trace import mutter
 
41
import bzrlib.errors as errors
 
42
from bzrlib.identitymap import IdentityMap, NullIdentityMap
 
43
from bzrlib.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
103
 
                    and not self._clean_queue[offset] in self._precious_objects):
 
102
            if (sys.getrefcount(self._clean_queue[offset]) <= 7 and
 
103
                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]