[Spambayes-checkins] spambayes HistToGNU.py,1.2,1.3
Brad Clements
bkc@users.sourceforge.net
Tue, 24 Sep 2002 07:38:14 -0700
Update of /cvsroot/spambayes/spambayes
In directory usw-pr-cvs1:/tmp/cvs-serv6641
Modified Files:
HistToGNU.py
Log Message:
Fix wrong __doc__ for usage
Index: HistToGNU.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/HistToGNU.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** HistToGNU.py 24 Sep 2002 00:39:06 -0000 1.2
--- HistToGNU.py 24 Sep 2002 14:38:10 -0000 1.3
***************
*** 5,11 ****
Convert saved binary pickle of histograms to gnu plot output
! """
!
! """Usage: %(program)s [options] [histogrampicklefile ...]
reads pickle filename from options if not specified
--- 5,9 ----
Convert saved binary pickle of histograms to gnu plot output
! Usage: %(program)s [options] [histogrampicklefile ...]
reads pickle filename from options if not specified
***************
*** 57,64 ****
args = []
for file in files:
! args.append("""'-' %s title "%s" """ % (dataSetOptions,file))
cmd.write('plot %s\n' % ",".join(args))
for file in files:
! outputHist(loadHist(file),cmd)
cmd.write('e\n')
--- 55,62 ----
args = []
for file in files:
! args.append("""'-' %s title "%s" """ % (dataSetOptions, file))
cmd.write('plot %s\n' % ",".join(args))
for file in files:
! outputHist(loadHist(file), cmd)
cmd.write('e\n')