~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: INADA Naoki
  • Date: 2011-05-05 09:15:34 UTC
  • mto: (5830.3.3 i18n-msgfmt)
  • mto: This revision was merged to the branch mainline in revision 5873.
  • Revision ID: songofacandy@gmail.com-20110505091534-7sv835xpofwrmpt4
Add update-pot command to Makefile and tools/bzrgettext script that
extracts help text from bzr commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
    :param to_file: A file-like object to which messages will be sent.
333
333
 
334
334
    :returns: A memento that should be passed to _pop_log_file to restore the
335
 
        previously active logging.
 
335
    previously active logging.
336
336
    """
337
337
    global _trace_file
338
338
    # make a new handler