Skip to content

Commit

Permalink
silence flake8 carping
Browse files Browse the repository at this point in the history
  • Loading branch information
runderwood authored and runderwood committed Jul 6, 2017
1 parent e78c472 commit 37462bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion premis_event_service/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def json_event_search(request):
paginated_entries = paginate_events(valid, request, per_page=EVENT_SEARCH_PER_PAGE)
args = {}
args.update(valid)
args = {k:v for k,v in args.items() if v is not None}
args = {k: v for k, v in args.items() if v is not None}
events = paginated_entries['events']
total_events = Event.objects.all().count()
if events.count() is not 0:
Expand Down

0 comments on commit 37462bb

Please sign in to comment.