From 82d0396f036eedbcb7e04ac16a8c8cdf73d564f5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 17 May 2010 10:33:03 -0400 Subject: [PATCH] Remove leftover curve.InfoCommand cruft from ExportCommand.__init__. --- hooke/plugin/curve.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/hooke/plugin/curve.py b/hooke/plugin/curve.py index 1e0ad06..13ee496 100644 --- a/hooke/plugin/curve.py +++ b/hooke/plugin/curve.py @@ -57,20 +57,20 @@ of the current playlist. # Define commands class InfoCommand (Command): - """Print selected information about a :class:`hooke.curve.Curve`. + """Get selected information about a :class:`hooke.curve.Curve`. """ def __init__(self): args = [ CurveArgument, Argument(name='all', type='bool', default=False, count=1, - help='Print all curve information.'), + help='Get all curve information.'), ] self.fields = ['name', 'path', 'experiment', 'driver', 'filetype', 'note', 'blocks', 'block sizes'] for field in self.fields: args.append(Argument( name=field, type='bool', default=False, count=1, - help='Print curve %s' % field)) + help='Get curve %s' % field)) super(InfoCommand, self).__init__( name='curve info', arguments=args, help=self.__doc__) @@ -120,12 +120,6 @@ class ExportCommand (Command): ASCII text. """ def __init__(self): - self.fields = ['name', 'path', 'experiment', 'driver', 'filetype', 'note', - 'blocks', 'block sizes'] - for field in self.fields: - args.append(Argument( - name=field, type='bool', default=False, count=1, - help='Print curve %s' % field)) super(InfoCommand, self).__init__( name='curve info', arguments=[ -- 2.26.2