Rev 5183: (vila) Delete unused attribute in _LeafNode (Martin [gz]) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Fri Apr 23 21:27:25 BST 2010
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 5183 [merge]
revision-id: pqm at pqm.ubuntu.com-20100423202719-c83nw1kvef32fmkl
parent: pqm at pqm.ubuntu.com-20100423182030-jl0jz21lm256tpyv
parent: gzlist at googlemail.com-20100421203310-7cehyh059078wb4t
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2010-04-23 21:27:19 +0100
message:
(vila) Delete unused attribute in _LeafNode (Martin [gz])
modified:
bzrlib/chk_map.py chk_map.py-20081001014447-ue6kkuhofvdecvxa-1
=== modified file 'bzrlib/chk_map.py'
--- a/bzrlib/chk_map.py 2010-02-23 07:43:11 +0000
+++ b/bzrlib/chk_map.py 2010-04-21 20:33:10 +0000
@@ -692,13 +692,12 @@
the key/value pairs.
"""
- __slots__ = ('_common_serialised_prefix', '_serialise_key')
+ __slots__ = ('_common_serialised_prefix',)
def __init__(self, search_key_func=None):
Node.__init__(self)
# All of the keys in this leaf node share this common prefix
self._common_serialised_prefix = None
- self._serialise_key = '\x00'.join
if search_key_func is None:
self._search_key_func = _search_key_plain
else:
@@ -888,6 +887,8 @@
raise AssertionError('%r must be known' % self._search_prefix)
return self._search_prefix, [("", self)]
+ _serialise_key = '\x00'.join
+
def serialise(self, store):
"""Serialise the LeafNode to store.
More information about the bazaar-commits
mailing list