django-basic-apps icon indicating copy to clipboard operation
django-basic-apps copied to clipboard

remove duplicate STOP_WORDS compliation

Open mfogel opened this issue 14 years ago • 0 comments

Hi Nathan, STOP_WORDS is compiled twice via re.compile(). Once in tools/constants.py and once in blog/views.py. python2.5 doesn't mind, but python2.6 chokes on this.

This commit removes the second re.compile(). This works in both python2.5 and python2.6

This is also Issue #20.

Cheers, appreciate all your work on all these apps. Great example of quality python and django.

Mike

mfogel avatar Feb 17 '11 20:02 mfogel