~debian-lptools/debian/sid/lptools/sid

« back to all changes in this revision

Viewing changes to lptools/command.py

  • Committer: Jelmer Vernooij
  • Date: 2023-09-28 12:07:22 UTC
  • mfrom: (2.18.8)
  • Revision ID: jelmer@jelmer.uk-20230928120722-704pws90v7e943dk
* New upstream snapshot.
 + Drop patches for conversion to python 3 and breezy; now merged upstream.
+ debian/upstream/metadata: Drop unknown Homepage field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
import os
39
39
import sys
40
40
 
41
 
from bzrlib import commands, ui, version_info as bzr_version_info
 
41
from breezy import commands, ui, version_info as bzr_version_info
42
42
 
43
43
from lptools import config
44
44
 
72
72
class cmd_help(commands.Command):
73
73
    """Show help on a command or other topic."""
74
74
 
75
 
    # Can't use the stock bzrlib help, because the help indices aren't quite
 
75
    # Can't use the stock breezy help, because the help indices aren't quite
76
76
    # generic enough.
77
77
    takes_args = ['topic?']
78
78
    def run(self, topic=None):
79
79
        if topic is None:
80
80
            self.outf.write(sys.modules['__main__'].__doc__)
81
81
        else:
82
 
            import bzrlib.help
83
 
            bzrlib.help.help(topic)
 
82
            import breezy.help
 
83
            breezy.help.help(topic)
84
84
 
85
85
 
86
86
def do_run_bzr(argv):