~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: INADA Naoki
  • Date: 2011-05-08 17:58:08 UTC
  • mto: (5830.3.4 i18n-msgfmt)
  • mto: This revision was merged to the branch mainline in revision 5873.
  • Revision ID: songofacandy@gmail.com-20110508175808-rzcv5h10vwwolr8j
Make "export-pot" hidden command.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6154
6154
            self.outf.write('%s %s\n' % (path, location))
6155
6155
 
6156
6156
 
 
6157
class cmd_export_pot(Command):
 
6158
    __doc__ = """Export command helps and error messages in po format."""
 
6159
 
 
6160
    hidden = True
 
6161
 
 
6162
    def run(self):
 
6163
        from bzrlib.export_pot import export_pot
 
6164
        export_pot(self.outf)
 
6165
 
 
6166
 
6157
6167
def _register_lazy_builtins():
6158
6168
    # register lazy builtins from other modules; called at startup and should
6159
6169
    # be only called once.