Skip to content

Commit

Permalink
Fixes bug 1315324 - Add another heuristic rule for the signature corr…
Browse files Browse the repository at this point in the history
…elations (mozilla-services#3580)
  • Loading branch information
marco-c authored and adngdb committed Nov 10, 2016
1 parent 3e7ff8f commit dc6ddd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp-django/crashstats/signature/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,9 @@ def signature_correlations(request, params):
context = {}

context['channel'] = 'release'
if 'version' in params and params['version']:
if 'release_channel' in params and len(params['release_channel']) == 1:
context['channel'] = params['release_channel'][0]
elif 'version' in params and params['version']:
if all('b' in version for version in params['version']):
context['channel'] = 'beta'
elif all('a2' in version for version in params['version']):
Expand Down

0 comments on commit dc6ddd6

Please sign in to comment.