Fixed some pyflakes issues in the merged code.

- Legacy-Id: 7464
This commit is contained in:
Henrik Levkowetz 2014-03-15 16:32:11 +00:00
parent b9c38d3c06
commit 108fe6b03f
2 changed files with 2 additions and 7 deletions

View file

@ -13,7 +13,6 @@ from ietf.doc.models import WriteupDocEvent, BallotPositionDocEvent, LastCallDoc
from ietf.doc.utils import needed_ballot_positions
from ietf.person.models import Person
from ietf.group.models import Group, Role
from ietf.doc.utils import needed_ballot_positions
def email_state_changed(request, doc, text):
to = [x.strip() for x in doc.notify.replace(';', ',').split(',')]

View file

@ -1,9 +1,5 @@
# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
# -*- coding: utf-8 -*-
from south.v2 import DataMigration
from django.db import models
class Migration(DataMigration):
@ -26,7 +22,7 @@ class Migration(DataMigration):
# Can't reliably determine what the old states might have been, so just capture what the state was set to
for event in orm.DocEvent.objects.filter(type='changed_document',desc="IESG state set to Publication Requested"):
for new_state in missing_states :
e = self.add_state_change_event(orm=orm,doc=event.doc,by=event.by,new_state=new_state,timestamp=event.time)
self.add_state_change_event(orm=orm,doc=event.doc,by=event.by,new_state=new_state,timestamp=event.time)
def backwards(self, orm):
"Write your backwards methods here."