Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
[fix bug 950640] Replace monitored bugzilla flag for voting automations.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngian committed Dec 16, 2013
1 parent d9095a4 commit 51b4577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion remo/remozilla/tasks.py
Expand Up @@ -99,7 +99,7 @@ def fetch_bugs(components=COMPONENTS, days=None):

for flag in bdata.get('flags', []):
if ((flag['status'] == '?'
and flag['name'] == 'remo-review'
and flag['name'] == 'remo-approval'
and flag['requestee']['name'] == (
settings.REPS_COUNCIL_ALIAS)
and waffle.switch_is_active('automated_polls'))):
Expand Down
2 changes: 1 addition & 1 deletion remo/remozilla/tests/test_tasks.py
Expand Up @@ -71,7 +71,7 @@ def test_with_valid_data(self, switch_is_active_mock, fake_requests_obj):
'ref': '',
'name': 'reps-council@mozilla.com'},
'status': '?',
'name': 'remo-review'}],
'name': 'remo-approval'}],
'resolution': 'invalid'},
{'id': 1199,
'summary': 'New summary',
Expand Down

0 comments on commit 51b4577

Please sign in to comment.