~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-31 23:59:21 UTC
  • mfrom: (6112.1.2 i18n-install-once)
  • Revision ID: pqm@pqm.ubuntu.com-20110831235921-ra2k5rt3x4f6xeli
(jr) Do not run i18n initialisation twice. (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
465
465
            usage help (e.g. Purpose, Usage, Options) with a
466
466
            message explaining how to obtain full help.
467
467
        """
468
 
        if self.l10n and not i18n.installed():
 
468
        if self.l10n:
469
469
            i18n.install()  # Install i18n only for get_help_text for now.
470
470
        doc = self.help()
471
471
        if doc: