/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/_chk_map_py.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import zlib
22
22
import struct
23
23
 
24
 
from bzrlib.static_tuple import StaticTuple
 
24
from .static_tuple import StaticTuple
25
25
 
26
26
_LeafNode = None
27
27
_InternalNode = None
65
65
    """
66
66
    global _unknown, _LeafNode, _InternalNode
67
67
    if _LeafNode is None:
68
 
        from bzrlib import chk_map
 
68
        from breezy import chk_map
69
69
        _unknown = chk_map._unknown
70
70
        _LeafNode = chk_map.LeafNode
71
71
        _InternalNode = chk_map.InternalNode
123
123
def _deserialise_internal_node(bytes, key, search_key_func=None):
124
124
    global _unknown, _LeafNode, _InternalNode
125
125
    if _InternalNode is None:
126
 
        from bzrlib import chk_map
 
126
        from breezy import chk_map
127
127
        _unknown = chk_map._unknown
128
128
        _LeafNode = chk_map.LeafNode
129
129
        _InternalNode = chk_map.InternalNode