[damned-lies] Last round of minor fixes for pyflakes
- From: Gil Forcada Codinachs <gforcada src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Last round of minor fixes for pyflakes
- Date: Sat, 5 Nov 2011 23:09:53 +0000 (UTC)
commit e70f0ccfb4e496875d80f249141a38d0a8dd4855
Author: Gil Forcada <gforcada gnome org>
Date: Sun Nov 6 00:06:04 2011 +0100
Last round of minor fixes for pyflakes
common/migrations/0001_openid_migration.py | 3 ---
languages/migrations/0001_initial.py | 1 -
people/migrations/0001_initial.py | 1 -
people/tests/__init__.py | 2 --
stats/migrations/0002_add_release_weight.py | 1 -
stats/migrations/0003_add_branch_weight.py | 1 -
stats/migrations/0004_add_file_hashes.py | 2 --
stats/migrations/0005_add_pofile.py | 2 --
stats/migrations/0006_migrate_stats.py | 3 ---
stats/migrations/0007_add_domain_filter.py | 2 --
stats/migrations/0008_add_ext_platform.py | 2 --
stats/migrations/0009_add_figure_field.py | 2 --
stats/migrations/0010_add_word_statistics.py | 2 --
stats/tests/__init__.py | 3 +--
teams/migrations/0001_initial.py | 1 -
teams/migrations/0002_workflow_and_pres.py | 1 -
.../0003_auto__add_field_role_is_active.py | 2 --
vertimus/migrations/0001_initial.py | 1 -
vertimus/migrations/0002_add_merged_file.py | 2 --
vertimus/migrations/0003_populate_merged_file.py | 3 ---
20 files changed, 1 insertions(+), 36 deletions(-)
---
diff --git a/common/migrations/0001_openid_migration.py b/common/migrations/0001_openid_migration.py
index f1cf72b..37eaff0 100644
--- a/common/migrations/0001_openid_migration.py
+++ b/common/migrations/0001_openid_migration.py
@@ -1,8 +1,5 @@
# encoding: utf-8
-import datetime
-from south.db import db
from south.v2 import DataMigration
-from django.db import models
from django.db.utils import IntegrityError
class Migration(DataMigration):
diff --git a/languages/migrations/0001_initial.py b/languages/migrations/0001_initial.py
index 373b4ab..f124dcd 100644
--- a/languages/migrations/0001_initial.py
+++ b/languages/migrations/0001_initial.py
@@ -1,6 +1,5 @@
from south.db import db
-from django.db import models
from languages.models import *
class Migration:
diff --git a/people/migrations/0001_initial.py b/people/migrations/0001_initial.py
index a5ea23e..d8962fb 100644
--- a/people/migrations/0001_initial.py
+++ b/people/migrations/0001_initial.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from south.db import db
-from django.db import models
from people.models import *
class Migration:
diff --git a/people/tests/__init__.py b/people/tests/__init__.py
index 797a4d8..905c415 100644
--- a/people/tests/__init__.py
+++ b/people/tests/__init__.py
@@ -21,9 +21,7 @@
import datetime
from django.test import TestCase
-from django.test.client import Client
from django.core.urlresolvers import reverse
-from django.forms import ValidationError
from people.models import Person
from people import forms
diff --git a/stats/migrations/0002_add_release_weight.py b/stats/migrations/0002_add_release_weight.py
index 02669a1..369ee53 100644
--- a/stats/migrations/0002_add_release_weight.py
+++ b/stats/migrations/0002_add_release_weight.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from south.db import db
-from django.db import models
from stats.models import *
class Migration:
diff --git a/stats/migrations/0003_add_branch_weight.py b/stats/migrations/0003_add_branch_weight.py
index 50840f7..179316d 100644
--- a/stats/migrations/0003_add_branch_weight.py
+++ b/stats/migrations/0003_add_branch_weight.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from south.db import db
-from django.db import models
from stats.models import *
class Migration:
diff --git a/stats/migrations/0004_add_file_hashes.py b/stats/migrations/0004_add_file_hashes.py
index 5b42283..abfcdbf 100644
--- a/stats/migrations/0004_add_file_hashes.py
+++ b/stats/migrations/0004_add_file_hashes.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/stats/migrations/0005_add_pofile.py b/stats/migrations/0005_add_pofile.py
index 6ca827d..ce1ac2c 100644
--- a/stats/migrations/0005_add_pofile.py
+++ b/stats/migrations/0005_add_pofile.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/stats/migrations/0006_migrate_stats.py b/stats/migrations/0006_migrate_stats.py
index 19cec45..0ee4254 100644
--- a/stats/migrations/0006_migrate_stats.py
+++ b/stats/migrations/0006_migrate_stats.py
@@ -1,8 +1,5 @@
# encoding: utf-8
-import datetime
-from south.db import db
from south.v2 import DataMigration
-from django.db import models
class Migration(DataMigration):
diff --git a/stats/migrations/0007_add_domain_filter.py b/stats/migrations/0007_add_domain_filter.py
index ffc553a..292d8bc 100644
--- a/stats/migrations/0007_add_domain_filter.py
+++ b/stats/migrations/0007_add_domain_filter.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/stats/migrations/0008_add_ext_platform.py b/stats/migrations/0008_add_ext_platform.py
index c49ce9d..df45fc3 100644
--- a/stats/migrations/0008_add_ext_platform.py
+++ b/stats/migrations/0008_add_ext_platform.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/stats/migrations/0009_add_figure_field.py b/stats/migrations/0009_add_figure_field.py
index b5666ab..d19eefb 100644
--- a/stats/migrations/0009_add_figure_field.py
+++ b/stats/migrations/0009_add_figure_field.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/stats/migrations/0010_add_word_statistics.py b/stats/migrations/0010_add_word_statistics.py
index d33c7db..097d6ec 100644
--- a/stats/migrations/0010_add_word_statistics.py
+++ b/stats/migrations/0010_add_word_statistics.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/stats/tests/__init__.py b/stats/tests/__init__.py
index 9e60e4e..a97ce88 100644
--- a/stats/tests/__init__.py
+++ b/stats/tests/__init__.py
@@ -21,13 +21,12 @@
import os, shutil
from datetime import date
from django.test import TestCase
-from django.test.client import Client
from django.core import mail
from django.core.exceptions import ValidationError
from django.core.urlresolvers import reverse
from django.conf import settings
-from stats.models import Module, Domain, Branch, Category, Release, Statistics, FakeLangStatistics, Information
+from stats.models import Module, Domain, Branch, Release, Statistics, FakeLangStatistics
from stats.utils import check_program_presence, run_shell_command
from languages.models import Language
diff --git a/teams/migrations/0001_initial.py b/teams/migrations/0001_initial.py
index 7845638..90bb30b 100644
--- a/teams/migrations/0001_initial.py
+++ b/teams/migrations/0001_initial.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from south.db import db
-from django.db import models
from teams.models import *
class Migration:
diff --git a/teams/migrations/0002_workflow_and_pres.py b/teams/migrations/0002_workflow_and_pres.py
index 25e142b..0ab1ca2 100644
--- a/teams/migrations/0002_workflow_and_pres.py
+++ b/teams/migrations/0002_workflow_and_pres.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from south.db import db
-from django.db import models
from teams.models import *
class Migration:
diff --git a/teams/migrations/0003_auto__add_field_role_is_active.py b/teams/migrations/0003_auto__add_field_role_is_active.py
index 1ccfaaa..7e56c47 100644
--- a/teams/migrations/0003_auto__add_field_role_is_active.py
+++ b/teams/migrations/0003_auto__add_field_role_is_active.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/vertimus/migrations/0001_initial.py b/vertimus/migrations/0001_initial.py
index 9d7ebf9..69b4af7 100644
--- a/vertimus/migrations/0001_initial.py
+++ b/vertimus/migrations/0001_initial.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from south.db import db
-from django.db import models
from vertimus.models import *
class Migration:
diff --git a/vertimus/migrations/0002_add_merged_file.py b/vertimus/migrations/0002_add_merged_file.py
index 54a073d..a4f3009 100644
--- a/vertimus/migrations/0002_add_merged_file.py
+++ b/vertimus/migrations/0002_add_merged_file.py
@@ -1,8 +1,6 @@
# encoding: utf-8
-import datetime
from south.db import db
from south.v2 import SchemaMigration
-from django.db import models
class Migration(SchemaMigration):
diff --git a/vertimus/migrations/0003_populate_merged_file.py b/vertimus/migrations/0003_populate_merged_file.py
index 7af9905..556cec9 100644
--- a/vertimus/migrations/0003_populate_merged_file.py
+++ b/vertimus/migrations/0003_populate_merged_file.py
@@ -1,8 +1,5 @@
# encoding: utf-8
-import datetime
-from south.db import db
from south.v2 import DataMigration
-from django.db import models
from vertimus.models import Action
from stats.models import PoFile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]