Skip to content

Commit 108fe6b

Browse files
committed
Fixed some pyflakes issues in the merged code.
- Legacy-Id: 7464
1 parent b9c38d3 commit 108fe6b

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

ietf/doc/mails.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from ietf.doc.utils import needed_ballot_positions
1414
from ietf.person.models import Person
1515
from ietf.group.models import Group, Role
16-
from ietf.doc.utils import needed_ballot_positions
1716

1817
def email_state_changed(request, doc, text):
1918
to = [x.strip() for x in doc.notify.replace(';', ',').split(',')]

ietf/doc/migrations/0018_add_missing_pubreq_docevents.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
# -*- coding: utf-8 -*-
2-
from south.utils import datetime_utils as datetime
3-
from south.db import db
1+
# -*- coding: utf-8 -*-
42
from south.v2 import DataMigration
5-
from django.db import models
6-
73

84
class Migration(DataMigration):
95

@@ -26,7 +22,7 @@ def forwards(self, orm):
2622
# Can't reliably determine what the old states might have been, so just capture what the state was set to
2723
for event in orm.DocEvent.objects.filter(type='changed_document',desc="IESG state set to Publication Requested"):
2824
for new_state in missing_states :
29-
e = self.add_state_change_event(orm=orm,doc=event.doc,by=event.by,new_state=new_state,timestamp=event.time)
25+
self.add_state_change_event(orm=orm,doc=event.doc,by=event.by,new_state=new_state,timestamp=event.time)
3026

3127
def backwards(self, orm):
3228
"Write your backwards methods here."

0 commit comments

Comments
 (0)