Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

remove duplicate STOP_WORDS compliation #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mfogel
Copy link

@mfogel 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant