Skip to content

Commit d589718

Browse files
committed
Fixed some pyflakes issues.
- Legacy-Id: 12405
1 parent 1deadea commit d589718

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/meeting/migrations/0040_fix_mext_meeting_materials.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import unicode_literals
33

4-
from django.db import models, migrations
4+
from django.db import migrations
55
from django.db.utils import IntegrityError
66

77
def forward(apps, schema_editor):
@@ -16,7 +16,7 @@ def forward(apps, schema_editor):
1616
name = p.document_id.replace('-dmm', '-mext')
1717
try:
1818
doc = p.document
19-
new = Document.objects.create(
19+
Document.objects.create(
2020
time=doc.time,
2121
type=doc.type,
2222
title=doc.title.replace('DMM', 'MEXT'),
@@ -47,7 +47,7 @@ def backward(apps, schema_editor):
4747
name = p.document_id.replace('-mext', '-dmm')
4848
try:
4949
doc = p.document
50-
old = Document.objects.create(
50+
Document.objects.create(
5151
time=doc.time,
5252
type=doc.type,
5353
title=doc.title.replace('MEXT', 'DMM'),

0 commit comments

Comments
 (0)