[damned-lies] Removed superfluous trailing spaces



commit 882ebe2078af0d58928165aaee838a8ded8a1f39
Author: Gil Forcada <gforcada gnome org>
Date:   Fri Aug 19 16:20:43 2011 +0200

    Removed superfluous trailing spaces
    
    Trailsave gedit plugin is really useful for that.

 common/migrations/0001_openid_migration.py  |    2 +-
 common/tests.py                             |   15 +++---
 languages/migrations/0001_initial.py        |   20 ++++----
 people/migrations/0001_initial.py           |   20 ++++----
 stats/migrations/0001_initial.py            |   68 +++++++++++++-------------
 stats/migrations/0002_add_release_weight.py |   20 ++++----
 stats/migrations/0003_add_branch_weight.py  |   20 ++++----
 stats/migrations/0004_add_file_hashes.py    |   16 +++---
 stats/migrations/0005_add_pofile.py         |    4 +-
 stats/migrations/0007_add_domain_filter.py  |    4 +-
 stats/migrations/0008_add_ext_platform.py   |    4 +-
 stats/migrations/0009_add_figure_field.py   |    4 +-
 teams/migrations/0001_initial.py            |   28 ++++++------
 teams/migrations/0002_workflow_and_pres.py  |   24 +++++-----
 teams/models.py                             |    2 +-
 teams/tests.py                              |   11 ++--
 vertimus/migrations/0001_initial.py         |   32 ++++++------
 vertimus/migrations/0002_add_merged_file.py |    4 +-
 vertimus/tests/__init__.py                  |    2 +-
 19 files changed, 149 insertions(+), 151 deletions(-)
---
diff --git a/common/migrations/0001_openid_migration.py b/common/migrations/0001_openid_migration.py
index 535c338..f1cf72b 100644
--- a/common/migrations/0001_openid_migration.py
+++ b/common/migrations/0001_openid_migration.py
@@ -32,7 +32,7 @@ class Migration(DataMigration):
 
 
     models = {
-        
+
     }
 
     complete_apps = ['common']
diff --git a/common/tests.py b/common/tests.py
index c141efa..8e905f3 100644
--- a/common/tests.py
+++ b/common/tests.py
@@ -46,7 +46,7 @@ class CommonTest(TestCase):
 
         self.t1 = Team(name='fr', description='French')
         self.t1.save()
-   
+
         self.t2 = Team(name='fr2', description='French')
         self.t2.save()
 
@@ -54,8 +54,8 @@ class CommonTest(TestCase):
         self.r1.save()
 
         self.r2 = Role(team=self.t2, person=self.pt)
-        self.r2.save() 
-        
+        self.r2.save()
+
 
     def test_activate_account(self):
         # Testing if is_active is False by default
@@ -65,14 +65,14 @@ class CommonTest(TestCase):
 
         self.newu = Person.objects.get(username='newuser')
         self.assertFalse(self.newu.is_active)
-        
+
         # Testing with a invalid activation key
         response = self.client.get('/register/activate/a_invalid_key')
-        self.assertContains(response, 'Sorry, the key you provided is not valid.')        
+        self.assertContains(response, 'Sorry, the key you provided is not valid.')
 
         response = self.client.get('/register/activate/%s' % self.newu.activation_key)
         self.assertContains(response,  'Your account has been activated.')
-        
+
         self.newu = Person.objects.get(username='newuser')
         self.assertTrue(self.newu.is_active)
 
@@ -85,7 +85,7 @@ class CommonTest(TestCase):
 
         # Testing if the non-activated accounts were deleted
         jn = Person.objects.filter(first_name='John', last_name='Note')
-        self.assertEqual(jn.count(), 1)       
+        self.assertEqual(jn.count(), 1)
 
         jr = Person.objects.filter(first_name='John', last_name='Reviewer')
         self.assertEqual(jr.count(), 0)
@@ -94,4 +94,3 @@ class CommonTest(TestCase):
         jt = Person.objects.get(first_name='John', last_name='Translator')
         for role in Role.objects.filter(person=jt):
             self.assertFalse(role.is_active)
-
diff --git a/languages/migrations/0001_initial.py b/languages/migrations/0001_initial.py
index d15bc3d..373b4ab 100644
--- a/languages/migrations/0001_initial.py
+++ b/languages/migrations/0001_initial.py
@@ -4,13 +4,13 @@ from django.db import models
 from languages.models import *
 
 class Migration:
-    
+
     depends_on = (
         ("teams", "0001_initial"),
     )
 
     def forwards(self, orm):
-        
+
         # Adding model 'Language'
         db.create_table('language', (
             ('id', orm['languages.Language:id']),
@@ -20,16 +20,16 @@ class Migration:
             ('plurals', orm['languages.Language:plurals']),
         ))
         db.send_create_signal('languages', ['Language'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting model 'Language'
         db.delete_table('language')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -94,5 +94,5 @@ class Migration:
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['languages']
diff --git a/people/migrations/0001_initial.py b/people/migrations/0001_initial.py
index 2c7fe26..a5ea23e 100644
--- a/people/migrations/0001_initial.py
+++ b/people/migrations/0001_initial.py
@@ -5,9 +5,9 @@ from django.db import models
 from people.models import *
 
 class Migration:
-    
+
     def forwards(self, orm):
-        
+
         # Adding model 'Person'
         db.create_table('person', (
             ('user_ptr', orm['people.Person:user_ptr']),
@@ -19,16 +19,16 @@ class Migration:
             ('activation_key', orm['people.Person:activation_key']),
         ))
         db.send_create_signal('people', ['Person'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting model 'Person'
         db.delete_table('person')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -75,5 +75,5 @@ class Migration:
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['people']
diff --git a/stats/migrations/0001_initial.py b/stats/migrations/0001_initial.py
index 3ad7e7d..fa56203 100644
--- a/stats/migrations/0001_initial.py
+++ b/stats/migrations/0001_initial.py
@@ -5,9 +5,9 @@ from django.db import models
 from stats.models import *
 
 class Migration:
-    
+
     def forwards(self, orm):
-        
+
         # Adding model 'Category'
         db.create_table('category', (
             ('id', orm['stats.Category:id']),
@@ -16,7 +16,7 @@ class Migration:
             ('name', orm['stats.Category:name']),
         ))
         db.send_create_signal('stats', ['Category'])
-        
+
         # Adding model 'Release'
         db.create_table('release', (
             ('id', orm['stats.Release:id']),
@@ -26,7 +26,7 @@ class Migration:
             ('status', orm['stats.Release:status']),
         ))
         db.send_create_signal('stats', ['Release'])
-        
+
         # Adding model 'Statistics'
         db.create_table('statistics', (
             ('id', orm['stats.Statistics:id']),
@@ -40,7 +40,7 @@ class Migration:
             ('num_figures', orm['stats.Statistics:num_figures']),
         ))
         db.send_create_signal('stats', ['Statistics'])
-        
+
         # Adding model 'InformationArchived'
         db.create_table('information_archived', (
             ('id', orm['stats.InformationArchived:id']),
@@ -49,7 +49,7 @@ class Migration:
             ('description', orm['stats.InformationArchived:description']),
         ))
         db.send_create_signal('stats', ['InformationArchived'])
-        
+
         # Adding model 'Branch'
         db.create_table('branch', (
             ('id', orm['stats.Branch:id']),
@@ -58,7 +58,7 @@ class Migration:
             ('module', orm['stats.Branch:module']),
         ))
         db.send_create_signal('stats', ['Branch'])
-        
+
         # Adding model 'Domain'
         db.create_table('domain', (
             ('id', orm['stats.Domain:id']),
@@ -71,7 +71,7 @@ class Migration:
             ('linguas_location', orm['stats.Domain:linguas_location']),
         ))
         db.send_create_signal('stats', ['Domain'])
-        
+
         # Adding model 'StatisticsArchived'
         db.create_table('statistics_archived', (
             ('id', orm['stats.StatisticsArchived:id']),
@@ -86,7 +86,7 @@ class Migration:
             ('untranslated', orm['stats.StatisticsArchived:untranslated']),
         ))
         db.send_create_signal('stats', ['StatisticsArchived'])
-        
+
         # Adding model 'Information'
         db.create_table('information', (
             ('id', orm['stats.Information:id']),
@@ -95,7 +95,7 @@ class Migration:
             ('description', orm['stats.Information:description']),
         ))
         db.send_create_signal('stats', ['Information'])
-        
+
         # Adding model 'Module'
         db.create_table('module', (
             ('id', orm['stats.Module:id']),
@@ -111,68 +111,68 @@ class Migration:
             ('vcs_web', orm['stats.Module:vcs_web']),
         ))
         db.send_create_signal('stats', ['Module'])
-        
+
         # Adding ManyToManyField 'Module.maintainers'
         db.create_table('module_maintainer', (
             ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
             ('module', models.ForeignKey(orm.Module, null=False)),
             ('person', models.ForeignKey(orm['people.Person'], null=False))
         ))
-        
+
         # Creating unique_together for [name, module] on Branch.
         db.create_unique('branch', ['name', 'module_id'])
-        
+
         # Creating unique_together for [branch, domain, language] on Statistics.
         db.create_unique('statistics', ['branch_id', 'domain_id', 'language_id'])
-        
+
         # Creating unique_together for [release, branch] on Category.
         db.create_unique('category', ['release_id', 'branch_id'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting unique_together for [release, branch] on Category.
         db.delete_unique('category', ['release_id', 'branch_id'])
-        
+
         # Deleting unique_together for [branch, domain, language] on Statistics.
         db.delete_unique('statistics', ['branch_id', 'domain_id', 'language_id'])
-        
+
         # Deleting unique_together for [name, module] on Branch.
         db.delete_unique('branch', ['name', 'module_id'])
-        
+
         # Deleting model 'Category'
         db.delete_table('category')
-        
+
         # Deleting model 'Release'
         db.delete_table('release')
-        
+
         # Deleting model 'Statistics'
         db.delete_table('statistics')
-        
+
         # Deleting model 'InformationArchived'
         db.delete_table('information_archived')
-        
+
         # Deleting model 'Branch'
         db.delete_table('branch')
-        
+
         # Deleting model 'Domain'
         db.delete_table('domain')
-        
+
         # Deleting model 'StatisticsArchived'
         db.delete_table('statistics_archived')
-        
+
         # Deleting model 'Information'
         db.delete_table('information')
-        
+
         # Deleting model 'Module'
         db.delete_table('module')
-        
+
         # Dropping ManyToManyField 'Module.maintainers'
         db.delete_table('module_maintainer')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -325,5 +325,5 @@ class Migration:
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['stats']
diff --git a/stats/migrations/0002_add_release_weight.py b/stats/migrations/0002_add_release_weight.py
index 0bf3c09..02669a1 100644
--- a/stats/migrations/0002_add_release_weight.py
+++ b/stats/migrations/0002_add_release_weight.py
@@ -5,21 +5,21 @@ from django.db import models
 from stats.models import *
 
 class Migration:
-    
+
     def forwards(self, orm):
-        
+
         # Adding field 'Release.weight'
         db.add_column('release', 'weight', orm['stats.release:weight'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting field 'Release.weight'
         db.delete_column('release', 'weight')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -173,5 +173,5 @@ class Migration:
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['stats']
diff --git a/stats/migrations/0003_add_branch_weight.py b/stats/migrations/0003_add_branch_weight.py
index 785014d..50840f7 100644
--- a/stats/migrations/0003_add_branch_weight.py
+++ b/stats/migrations/0003_add_branch_weight.py
@@ -5,21 +5,21 @@ from django.db import models
 from stats.models import *
 
 class Migration:
-    
+
     def forwards(self, orm):
-        
+
         # Adding field 'Branch.weight'
         db.add_column('branch', 'weight', orm['stats.branch:weight'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting field 'Branch.weight'
         db.delete_column('branch', 'weight')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -176,5 +176,5 @@ class Migration:
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['stats']
diff --git a/stats/migrations/0004_add_file_hashes.py b/stats/migrations/0004_add_file_hashes.py
index b6e3e33..5b42283 100644
--- a/stats/migrations/0004_add_file_hashes.py
+++ b/stats/migrations/0004_add_file_hashes.py
@@ -5,19 +5,19 @@ from south.v2 import SchemaMigration
 from django.db import models
 
 class Migration(SchemaMigration):
-    
+
     def forwards(self, orm):
-        
+
         # Adding field 'Branch.file_hashes'
         db.add_column('branch', 'file_hashes', self.gf('common.fields.DictionaryField')(default='', blank=True), keep_default=False)
-    
-    
+
+
     def backwards(self, orm):
-        
+
         # Deleting field 'Branch.file_hashes'
         db.delete_column('branch', 'file_hashes')
-    
-    
+
+
     models = {
         'auth.group': {
             'Meta': {'object_name': 'Group'},
@@ -184,5 +184,5 @@ class Migration(SchemaMigration):
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['stats']
diff --git a/stats/migrations/0005_add_pofile.py b/stats/migrations/0005_add_pofile.py
index 1d91565..6ca827d 100644
--- a/stats/migrations/0005_add_pofile.py
+++ b/stats/migrations/0005_add_pofile.py
@@ -7,7 +7,7 @@ from django.db import models
 class Migration(SchemaMigration):
 
     def forwards(self, orm):
-        
+
         # Adding model 'PoFile'
         db.create_table('pofile', (
             ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
@@ -34,7 +34,7 @@ class Migration(SchemaMigration):
 
 
     def backwards(self, orm):
-        
+
         # Deleting model 'PoFile'
         db.delete_table('pofile')
 
diff --git a/stats/migrations/0007_add_domain_filter.py b/stats/migrations/0007_add_domain_filter.py
index 6304944..ffc553a 100644
--- a/stats/migrations/0007_add_domain_filter.py
+++ b/stats/migrations/0007_add_domain_filter.py
@@ -7,13 +7,13 @@ from django.db import models
 class Migration(SchemaMigration):
 
     def forwards(self, orm):
-        
+
         # Adding field 'Domain.red_filter'
         db.add_column('domain', 'red_filter', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
 
 
     def backwards(self, orm):
-        
+
         # Deleting field 'Domain.red_filter'
         db.delete_column('domain', 'red_filter')
 
diff --git a/stats/migrations/0008_add_ext_platform.py b/stats/migrations/0008_add_ext_platform.py
index c98bc85..c49ce9d 100644
--- a/stats/migrations/0008_add_ext_platform.py
+++ b/stats/migrations/0008_add_ext_platform.py
@@ -7,13 +7,13 @@ from django.db import models
 class Migration(SchemaMigration):
 
     def forwards(self, orm):
-        
+
         # Adding field 'Module.ext_platform'
         db.add_column('module', 'ext_platform', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True), keep_default=False)
 
 
     def backwards(self, orm):
-        
+
         # Deleting field 'Module.ext_platform'
         db.delete_column('module', 'ext_platform')
 
diff --git a/stats/migrations/0009_add_figure_field.py b/stats/migrations/0009_add_figure_field.py
index a860df7..b5666ab 100644
--- a/stats/migrations/0009_add_figure_field.py
+++ b/stats/migrations/0009_add_figure_field.py
@@ -7,7 +7,7 @@ from django.db import models
 class Migration(SchemaMigration):
 
     def forwards(self, orm):
-        
+
         # Deleting field 'PoFile.num_figures'
         db.delete_column('pofile', 'num_figures')
 
@@ -19,7 +19,7 @@ class Migration(SchemaMigration):
 
 
     def backwards(self, orm):
-        
+
         # Adding field 'PoFile.num_figures'
         db.add_column('pofile', 'num_figures', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False)
 
diff --git a/teams/migrations/0001_initial.py b/teams/migrations/0001_initial.py
index c328d94..7845638 100644
--- a/teams/migrations/0001_initial.py
+++ b/teams/migrations/0001_initial.py
@@ -5,13 +5,13 @@ from django.db import models
 from teams.models import *
 
 class Migration:
-    
+
     depends_on = (
         ("people", "0001_initial"),
     )
 
     def forwards(self, orm):
-        
+
         # Adding model 'Team'
         db.create_table('team', (
             ('id', orm['teams.Team:id']),
@@ -22,7 +22,7 @@ class Migration:
             ('mailing_list_subscribe', orm['teams.Team:mailing_list_subscribe']),
         ))
         db.send_create_signal('teams', ['Team'])
-        
+
         # Adding model 'Role'
         db.create_table('role', (
             ('id', orm['teams.Role:id']),
@@ -31,25 +31,25 @@ class Migration:
             ('role', orm['teams.Role:role']),
         ))
         db.send_create_signal('teams', ['Role'])
-        
+
         # Creating unique_together for [team, person] on Role.
         db.create_unique('role', ['team_id', 'person_id'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting unique_together for [team, person] on Role.
         db.delete_unique('role', ['team_id', 'person_id'])
-        
+
         # Deleting model 'Team'
         db.delete_table('team')
-        
+
         # Deleting model 'Role'
         db.delete_table('role')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -113,5 +113,5 @@ class Migration:
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['teams']
diff --git a/teams/migrations/0002_workflow_and_pres.py b/teams/migrations/0002_workflow_and_pres.py
index 0b7c4e7..25e142b 100644
--- a/teams/migrations/0002_workflow_and_pres.py
+++ b/teams/migrations/0002_workflow_and_pres.py
@@ -5,27 +5,27 @@ from django.db import models
 from teams.models import *
 
 class Migration:
-    
+
     def forwards(self, orm):
-        
+
         # Adding field 'Team.presentation'
         db.add_column('team', 'presentation', orm['teams.team:presentation'])
-        
+
         # Adding field 'Team.use_workflow'
         db.add_column('team', 'use_workflow', orm['teams.team:use_workflow'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting field 'Team.presentation'
         db.delete_column('team', 'presentation')
-        
+
         # Deleting field 'Team.use_workflow'
         db.delete_column('team', 'use_workflow')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -91,5 +91,5 @@ class Migration:
             'webpage_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['teams']
diff --git a/teams/models.py b/teams/models.py
index cc9aed6..6872a12 100644
--- a/teams/models.py
+++ b/teams/models.py
@@ -196,7 +196,7 @@ class Team(models.Model):
     def get_inactive_members(self):
         """ Return the inactive members """
         members = list(Person.objects.filter(role__team__id=self.id,
-                                             role__is_active=False)) 
+                                             role__is_active=False))
         return members
 
     def send_mail_to_coordinator(self, subject, message, messagekw={}):
diff --git a/teams/tests.py b/teams/tests.py
index da4ce2e..e7293be 100644
--- a/teams/tests.py
+++ b/teams/tests.py
@@ -74,10 +74,10 @@ class TeamTest(TeamsAndRolesTests):
         role = Role.objects.get(person=self.pc, team=t)
         role.is_active = False
         role.save()
-    
+
         members = self.t.get_members_by_role_exact('committer')
         self.assertEqual(len(members), 0)
-        
+
     def test_get_inactive_members(self):
         members = self.t.get_inactive_members()
         self.assertEqual(len(members), 0)
@@ -86,11 +86,11 @@ class TeamTest(TeamsAndRolesTests):
         role = Role.objects.get(person=self.pc, team=t)
         role.is_active = False
         role.save()
-        
+
         members = self.t.get_inactive_members()
         self.assertEqual(len(members), 1)
         self.assertEqual(members[0], self.pc)
-    
+
     def run_roles_exact_test(self, team):
         pcoo = team.get_coordinator()
         self.assertEqual(pcoo, self.pcoo)
@@ -215,6 +215,5 @@ class RoleTest(TeamsAndRolesTests):
 
         self.assertTrue(self.role.is_active)
         self.assertTrue(self.role2.is_active)
-        self.assertTrue(self.role_limit_date.is_active)         
+        self.assertTrue(self.role_limit_date.is_active)
         self.assertFalse(self.role_inactive.is_active)
-
diff --git a/vertimus/migrations/0001_initial.py b/vertimus/migrations/0001_initial.py
index ca2d3b1..9d7ebf9 100644
--- a/vertimus/migrations/0001_initial.py
+++ b/vertimus/migrations/0001_initial.py
@@ -5,9 +5,9 @@ from django.db import models
 from vertimus.models import *
 
 class Migration:
-    
+
     def forwards(self, orm):
-        
+
         # Adding model 'StateDb'
         db.create_table('state', (
             ('id', orm['vertimus.StateDb:id']),
@@ -19,7 +19,7 @@ class Migration:
             ('updated', orm['vertimus.StateDb:updated']),
         ))
         db.send_create_signal('vertimus', ['StateDb'])
-        
+
         # Adding model 'ActionDbArchived'
         db.create_table('action_archived', (
             ('id', orm['vertimus.ActionDbArchived:id']),
@@ -32,7 +32,7 @@ class Migration:
             ('sequence', orm['vertimus.ActionDbArchived:sequence']),
         ))
         db.send_create_signal('vertimus', ['ActionDbArchived'])
-        
+
         # Adding model 'ActionDb'
         db.create_table('action', (
             ('id', orm['vertimus.ActionDb:id']),
@@ -44,28 +44,28 @@ class Migration:
             ('file', orm['vertimus.ActionDb:file']),
         ))
         db.send_create_signal('vertimus', ['ActionDb'])
-        
+
         # Creating unique_together for [branch, domain, language] on StateDb.
         db.create_unique('state', ['branch_id', 'domain_id', 'language_id'])
-        
-    
-    
+
+
+
     def backwards(self, orm):
-        
+
         # Deleting unique_together for [branch, domain, language] on StateDb.
         db.delete_unique('state', ['branch_id', 'domain_id', 'language_id'])
-        
+
         # Deleting model 'StateDb'
         db.delete_table('state')
-        
+
         # Deleting model 'ActionDbArchived'
         db.delete_table('action_archived')
-        
+
         # Deleting model 'ActionDb'
         db.delete_table('action')
-        
-    
-    
+
+
+
     models = {
         'auth.group': {
             'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
@@ -194,5 +194,5 @@ class Migration:
             'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'auto_now_add': 'True', 'blank': 'True'})
         }
     }
-    
+
     complete_apps = ['vertimus']
diff --git a/vertimus/migrations/0002_add_merged_file.py b/vertimus/migrations/0002_add_merged_file.py
index 97fa059..54a073d 100644
--- a/vertimus/migrations/0002_add_merged_file.py
+++ b/vertimus/migrations/0002_add_merged_file.py
@@ -7,7 +7,7 @@ from django.db import models
 class Migration(SchemaMigration):
 
     def forwards(self, orm):
-        
+
         # Adding field 'ActionArchived.merged_file'
         db.add_column('action_archived', 'merged_file', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['stats.PoFile'], unique=True, null=True), keep_default=False)
 
@@ -16,7 +16,7 @@ class Migration(SchemaMigration):
 
 
     def backwards(self, orm):
-        
+
         # Deleting field 'ActionArchived.merged_file'
         db.delete_column('action_archived', 'merged_file_id')
 
diff --git a/vertimus/tests/__init__.py b/vertimus/tests/__init__.py
index dd2d830..b651245 100644
--- a/vertimus/tests/__init__.py
+++ b/vertimus/tests/__init__.py
@@ -215,7 +215,7 @@ class VertimusTest(TeamsAndRolesTests):
         role = Role.objects.get(person=self.pt, team=self.l.team)
         role.is_active = False
         role.save()
-        
+
         state = StateTranslating(branch=self.b, domain=self.d, language=self.l, person=self.pt)
         state.save()
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]