From 10eeb4309e3c258594e4e69e849a1b5c301c9c53 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 12 May 2010 08:51:19 -0400 Subject: [PATCH] Dash separators consistent with hooke.ui.UserInterface._splash_text(). '---' -> '----' in hooke.plugin.debug.VersionCommand. '----' -> '----' in hooke.ui.commandline.HelpCommand. --- hooke/plugin/debug.py | 8 ++++---- hooke/ui/commandline.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hooke/plugin/debug.py b/hooke/plugin/debug.py index 66b2028..c44ba03 100644 --- a/hooke/plugin/debug.py +++ b/hooke/plugin/debug.py @@ -30,7 +30,7 @@ class VersionCommand (Command): def _run(self, hooke, inqueue, outqueue, params): lines = [ 'Hooke ' + version(), - '---', + '----', 'Python ' + sys.version] for name,module in sorted(sys.modules.items()): if name == 'hooke': @@ -39,14 +39,14 @@ class VersionCommand (Command): if v != None: lines.append('%s %s' % (name, v)) lines.extend([ - '---', + '----', 'Platform: %s' % ' '.join(platform.uname()), 'User interface: %s' % hooke.ui.name, - '---', + '----', 'Loaded plugins:']) lines.extend([p.name for p in hooke.plugins]) lines.extend([ - '---', + '----', 'Loaded drivers:']) lines.extend([d.name for d in hooke.drivers]) outqueue.put('\n'.join(lines)) diff --git a/hooke/ui/commandline.py b/hooke/ui/commandline.py index 0c08d39..f42d014 100644 --- a/hooke/ui/commandline.py +++ b/hooke/ui/commandline.py @@ -167,7 +167,7 @@ class HelpCommand (CommandMethod): def __call__(self): blocks = [self.command.help(name_fn=self.name_fn), - '------', + '----', 'Usage: ' + self._usage_string(), ''] self.cmd.stdout.write('\n'.join(blocks)) -- 2.26.2