[Moin-devel] CVS: MoinMoin/macro RandomQuote.py,1.1,1.2

J?rgen Hermann jhermann at users.sourceforge.net
Thu May 23 14:11:06 EDT 2002


Update of /cvsroot/moin/MoinMoin/macro
In directory usw-pr-cvs1:/tmp/cvs-serv3463/macro

Modified Files:
	RandomQuote.py 
Log Message:
Removed redundant code


Index: RandomQuote.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/macro/RandomQuote.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** RandomQuote.py	23 May 2002 20:38:03 -0000	1.1
--- RandomQuote.py	23 May 2002 21:10:29 -0000	1.2
***************
*** 35,39 ****
      quotes = [quote.strip() for quote in quotes]
      quotes = [quote[2:] for quote in quotes if quote.startswith('* ')]
-     quotes = filter(None, [quote.rstrip() for quote in quotes])
      
      quote = random.choice(quotes or [
--- 35,38 ----





More information about the Moin-devel mailing list