~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/chk_map.py

  • Committer: Vincent Ladeuil
  • Date: 2010-10-07 06:08:01 UTC
  • mto: This revision was merged to the branch mainline in revision 5491.
  • Revision ID: v.ladeuil+lp@free.fr-20101007060801-wfdhizfhfmctl8qa
Fix some typos and propose a release planning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008-2011 Canonical Ltd
 
1
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
44
44
lazy_import.lazy_import(globals(), """
45
45
from bzrlib import (
46
46
    errors,
 
47
    versionedfile,
47
48
    )
48
49
""")
49
50
from bzrlib import (
50
 
    errors,
51
51
    lru_cache,
52
52
    osutils,
53
53
    registry,
1369
1369
        return self._search_prefix
1370
1370
 
1371
1371
    def unmap(self, store, key, check_remap=True):
1372
 
        """Remove key from this node and its children."""
 
1372
        """Remove key from this node and it's children."""
1373
1373
        if not len(self._items):
1374
1374
            raise AssertionError("can't unmap in an empty InternalNode.")
1375
1375
        children = [node for node, _