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:

_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to