[Python-checkins] CVS: python/dist/src/Demo/sgi/video OldVcopy.py,1.3,1.4 Vrec.py,1.19,1.20 Vrecb.py,1.9,1.10

Thomas Wouters python-dev@python.org
Sun, 16 Jul 2000 05:05:02 -0700


Update of /cvsroot/python/python/dist/src/Demo/sgi/video
In directory slayer.i.sourceforge.net:/tmp/cvs-serv11187/Demo/sgi/video

Modified Files:
	OldVcopy.py Vrec.py Vrecb.py 
Log Message:

Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)



Index: OldVcopy.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/sgi/video/OldVcopy.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** OldVcopy.py	1996/11/27 19:50:00	1.3
--- OldVcopy.py	2000/07/16 12:04:30	1.4
***************
*** 16,23 ****
  
  def usage():
! 	sys.stderr.write('usage: Vcopy [-t type] [-m treshold] [-a] infile outfile\n')
  	sys.stderr.write('-t Convert to other type\n')
  	sys.stderr.write('-a Automatic\n')
! 	sys.stderr.write('-m Convert grey to mono with treshold\n')
  	sys.stderr.write('-d Convert grey to mono with dithering\n')
  	sys.exit(2)
--- 16,23 ----
  
  def usage():
! 	sys.stderr.write('usage: Vcopy [-t type] [-m threshold] [-a] infile outfile\n')
  	sys.stderr.write('-t Convert to other type\n')
  	sys.stderr.write('-a Automatic\n')
! 	sys.stderr.write('-m Convert grey to mono with threshold\n')
  	sys.stderr.write('-d Convert grey to mono with dithering\n')
  	sys.exit(2)

Index: Vrec.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/sgi/video/Vrec.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** Vrec.py	1996/11/27 19:50:19	1.19
--- Vrec.py	2000/07/16 12:04:30	1.20
***************
*** 27,31 ****
  	print '-G            : 2-bit greyscale dithered'
  	print '-m            : monochrome dithered'
! 	print '-M value      : monochrome tresholded with value'
  	print '-f            : Capture fields (in stead of frames)'
  	print '-P frames     : preallocate space for "frames" frames'
--- 27,31 ----
  	print '-G            : 2-bit greyscale dithered'
  	print '-m            : monochrome dithered'
! 	print '-M value      : monochrome thresholded with value'
  	print '-f            : Capture fields (in stead of frames)'
  	print '-P frames     : preallocate space for "frames" frames'

Index: Vrecb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/sgi/video/Vrecb.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** Vrecb.py	1996/11/27 19:50:21	1.9
--- Vrecb.py	2000/07/16 12:04:30	1.10
***************
*** 46,50 ****
  	print '-G            : 2-bit greyscale dithered'
  	print '-m            : monochrome dithered'
! 	print '-M value      : monochrome tresholded with value'
  	print '-f            : Capture fields (instead of frames)'
  	print '-n number     : Capture this many frames (default 60)'
--- 46,50 ----
  	print '-G            : 2-bit greyscale dithered'
  	print '-m            : monochrome dithered'
! 	print '-M value      : monochrome thresholded with value'
  	print '-f            : Capture fields (instead of frames)'
  	print '-n number     : Capture this many frames (default 60)'