[Moin-devel] CVS: MoinMoin/action SpellCheck.py,1.18,1.19

J?rgen Hermann jhermann at users.sourceforge.net
Mon Mar 11 15:26:04 EST 2002


Update of /cvsroot/moin/MoinMoin/action
In directory usw-pr-cvs1:/tmp/cvs-serv1811/action

Modified Files:
	SpellCheck.py 
Log Message:
Syntax warning with Python 2.2 fixed; bumped release number to 0.12


Index: SpellCheck.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/action/SpellCheck.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** SpellCheck.py	13 Feb 2002 21:13:52 -0000	1.18
--- SpellCheck.py	11 Mar 2002 23:25:48 -0000	1.19
***************
*** 101,107 ****
  
      # get the new words as a string
!     from types import *
      newwords = form['newwords']
!     if type(newwords) is not ListType:
          newwords = [newwords]
      newwords = string.join(map(lambda w: w.value, newwords), ' ')
--- 101,107 ----
  
      # get the new words as a string
!     import types
      newwords = form['newwords']
!     if type(newwords) is not types.ListType:
          newwords = [newwords]
      newwords = string.join(map(lambda w: w.value, newwords), ' ')





More information about the Moin-devel mailing list