[Spambayes-checkins] spambayes/spambayes ImageStripper.py, 1.12, 1.13

Mark Hammond mhammond at users.sourceforge.net
Wed Feb 14 01:53:25 CET 2007


Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv4609

Modified Files:
	ImageStripper.py 
Log Message:
Fix typos - s/program_name/engine_name/


Index: ImageStripper.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/ImageStripper.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** ImageStripper.py	12 Feb 2007 11:24:59 -0000	1.12
--- ImageStripper.py	14 Feb 2007 00:53:22 -0000	1.13
***************
*** 219,223 ****
  class OCRExecutableEngine(OCREngine):
      """Uses a simple executable that writes to stdout to extract the text"""
!     program_name = None
      def __init__(self):
          # we go looking for the program first use and cache its location
--- 219,223 ----
  class OCRExecutableEngine(OCREngine):
      """Uses a simple executable that writes to stdout to extract the text"""
!     engine_name = None
      def __init__(self):
          # we go looking for the program first use and cache its location
***************
*** 317,321 ****
                      print >> sys.stderr, \
                            "No OCR program '%s' available - can't get text!" \
!                           % (self.engine.program_name,)
                      ctext = ""
                  ctokens = set()
--- 317,321 ----
                      print >> sys.stderr, \
                            "No OCR program '%s' available - can't get text!" \
!                           % (self.engine.engine_name,)
                      ctext = ""
                  ctokens = set()



More information about the Spambayes-checkins mailing list