~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/chk_map.py

  • Committer: Patch Queue Manager
  • Date: 2011-10-14 16:54:26 UTC
  • mfrom: (6216.1.1 remove-this-file)
  • Revision ID: pqm@pqm.ubuntu.com-20111014165426-tjix4e6idryf1r2z
(jelmer) Remove an accidentally committed .THIS file. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2008-2011 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,
48
47
    )
49
48
""")
50
49
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 it's children."""
 
1372
        """Remove key from this node and its 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, _