Dash separators consistent with hooke.ui.UserInterface._splash_text().
authorW. Trevor King <wking@drexel.edu>
Wed, 12 May 2010 12:51:19 +0000 (08:51 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 12 May 2010 12:51:19 +0000 (08:51 -0400)
'---' -> '----' in hooke.plugin.debug.VersionCommand.
'----' -> '----' in hooke.ui.commandline.HelpCommand.

hooke/plugin/debug.py
hooke/ui/commandline.py

index 66b2028f10d4df55af084a5e6d24a492a8bd551b..c44ba03a946971bd17ee209189e3024204f6faec 100644 (file)
@@ -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))
index 0c08d398c43b699efdfddc588ebce77a9bd7f3a4..f42d014145d9a545026a912fb0985cd0af6d971f 100644 (file)
@@ -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))