python: Fix unnecessary uses of str_utils library.

This commit is contained in:
Tim Abbott 2018-11-27 11:17:45 -08:00
parent e06668c7e8
commit c679920c01
6 changed files with 2 additions and 12 deletions

View File

@ -3,8 +3,6 @@ import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import zerver.lib.str_utils
class Migration(migrations.Migration):
dependencies = [

View File

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
from django.db import migrations, models
import zerver.lib.str_utils
class Migration(migrations.Migration):
dependencies = [

View File

@ -150,7 +150,7 @@ diff --git a/zerver/migrations/0026_add_topic_table.py b/zerver/migrations/0026_
index 2c8c07a..43351eb 100644
--- a/zerver/migrations/0026_add_topic_table.py
+++ b/zerver/migrations/0026_add_topic_table.py
@@ -8,7 +8,7 @@ import zerver.lib.str_utils
@@ -8,7 +8,7 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
@ -207,7 +207,7 @@ diff --git a/zerver/migrations/0027_topics_backfill.py b/zerver/migrations/0027_
index 766b075..05ea2bb 100644
--- a/zerver/migrations/0027_topics_backfill.py
+++ b/zerver/migrations/0027_topics_backfill.py
@@ -8,7 +8,7 @@ import zerver.lib.str_utils
@@ -8,7 +8,7 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [

View File

@ -4,8 +4,6 @@ import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import zerver.lib.str_utils
class Migration(migrations.Migration):
dependencies = [

View File

@ -7,8 +7,6 @@ import django.utils.timezone
from django.conf import settings
from django.db import migrations, models
import zerver.lib.str_utils
class Migration(migrations.Migration):
dependencies = [

View File

@ -5,8 +5,6 @@ import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import zerver.lib.str_utils
class Migration(migrations.Migration):
dependencies = [