remove duplicate STOP_WORDS compliation #29

Open
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant

mfogel commented Feb 17, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment