~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

(jr) Add gettext() to uses of note() (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    )
40
40
 
41
41
from bzrlib.repofmt import pack_repo
 
42
from bzrlib.i18n import gettext
42
43
""")
43
44
 
44
45
from bzrlib.btree_index import BTreeBuilder
1754
1755
                raise errors.RevisionNotPresent(record.key, self)
1755
1756
            if random_id:
1756
1757
                if record.key in inserted_keys:
1757
 
                    trace.note('Insert claimed random_id=True,'
1758
 
                               ' but then inserted %r two times', record.key)
 
1758
                    trace.note(gettext('Insert claimed random_id=True,'
 
1759
                               ' but then inserted %r two times'), record.key)
1759
1760
                    continue
1760
1761
                inserted_keys.add(record.key)
1761
1762
            if reuse_blocks: