Permalink
Browse files

fix syntaxerror in vote, fixes #1

  • Loading branch information...
jamesturk committed Oct 26, 2009
1 parent d7d0478 commit 52822322321407355990468407d9168f5ce35d13
Showing with 7 additions and 3 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −1 secretballot/__init__.py
  3. +1 −1 secretballot/views.py
  4. +1 −1 setup.py
View
@@ -1,3 +1,7 @@
+0.2.2 - October 26 2009
+=======================
+ - fixed embarassing SyntaxError in vote
+
0.2.1 - October 23 2009
=======================
- fix some documentation issues left from 0.1
View
@@ -1,5 +1,5 @@
__author__ = "James Turk (jturk@sunlightfoundation.com)"
-__version__ = "0.2.1"
+__version__ = "0.2.2"
__copyright__ = "Copyright (c) 2009 Sunlight Labs"
__license__ = "BSD"
View
@@ -15,7 +15,7 @@ def vote(request, content_type, object_id, vote, can_vote_test=None,
raise ImproperlyConfigured('To use secretballot a SecretBallotMiddleware must be installed. (see secretballot/middleware.py)')
token = request.secretballot_token
- if isinstance(content_type, ContentType)
+ if isinstance(content_type, ContentType):
pass
elif isinstance(content_type, Model):
content_type = ContentType.objects.get_for_model(content_type)
View
@@ -4,7 +4,7 @@
setup(
name='django-secretballot',
- version="0.2.1",
+ version="0.2.2",
package_dir={'secretballot': 'secretballot'},
packages=['secretballot'],
description='Django anonymous voting application',

0 comments on commit 5282232

Please sign in to comment.