~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-15 11:31:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6143.
  • Revision ID: jriddell@canonical.com-20110915113147-bgleett47i4jjxya
add gettext() to uses of trace.note()

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    rules,
36
36
    trace,
37
37
    )
 
38
from bzrlib.i18n import gettext
38
39
""")
39
40
 
40
41
from bzrlib.decorators import needs_read_lock
631
632
        prefs = self.iter_search_rules([path], filter_pref_names).next()
632
633
        stk = filters._get_filter_stack_for(prefs)
633
634
        if 'filters' in debug.debug_flags:
634
 
            trace.note("*** %s content-filter: %s => %r" % (path,prefs,stk))
 
635
            trace.note(gettext("*** {0} content-filter: {1} => {2!r}").format(path,prefs,stk))
635
636
        return stk
636
637
 
637
638
    def _content_filter_stack_provider(self):