Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove assertion parentheses in utils.py.

it causes SyntaxWarning.
  • Loading branch information...
commit 5d5e4c83214a52a83dbe85a3ed45e4f691ac042d 1 parent 06de537
@tzangms tzangms authored alex committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_histograms/utils.py
View
2  django_histograms/utils.py
@@ -64,7 +64,7 @@ def __init__(self, model, attname, queryset=None, months=None, days=None):
self.model = model
self.attname = attname
self._queryset = None
- assert(months or days, 'You must pass either months or days, not both.')
+ assert months or days, 'You must pass either months or days, not both.'
self.months = months
self.days = days
Please sign in to comment.
Something went wrong with that request. Please try again.