[Spambayes-checkins] spambayes/spambayes OptionsClass.py, 1.30, 1.31

Tony Meyer anadelonbrin at users.sourceforge.net
Fri Jan 6 09:39:00 CET 2006


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

Modified Files:
	OptionsClass.py 
Log Message:
A test "raise" was checked in by mistake at some point; remove it.

Index: OptionsClass.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/OptionsClass.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** OptionsClass.py	14 Dec 2005 07:33:12 -0000	1.30
--- OptionsClass.py	6 Jan 2006 08:38:52 -0000	1.31
***************
*** 100,104 ****
  try:
      import textwrap
-     raise ImportError
  except ImportError:
      # textwrap was added in 2.3
--- 100,103 ----
***************
*** 108,112 ****
      # could be duplicated here if anyone cared.
      def wrap(s):
!         length = 10
          return [s[i:i+length].strip() for i in xrange(0, len(s), length)]
  else:
--- 107,111 ----
      # could be duplicated here if anyone cared.
      def wrap(s):
!         length = 40
          return [s[i:i+length].strip() for i in xrange(0, len(s), length)]
  else:



More information about the Spambayes-checkins mailing list