Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove debug prints

  • Loading branch information...
commit 7609e0b42e0014a6ad0adf9dafc7018cb268070e 1 parent 8d81c6b
Andrew Godwin authored May 30, 2013

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  django/db/migrations/executor.py
4  django/db/migrations/executor.py
@@ -49,20 +49,16 @@ def apply_migration(self, migration):
49 49
         """
50 50
         Runs a migration forwards.
51 51
         """
52  
-        print "Applying %s" % migration
53 52
         with self.connection.schema_editor() as schema_editor:
54 53
             project_state = self.loader.graph.project_state((migration.app_label, migration.name), at_end=False)
55 54
             migration.apply(project_state, schema_editor)
56 55
         self.recorder.record_applied(migration.app_label, migration.name)
57  
-        print "Finished %s" % migration
58 56
 
59 57
     def unapply_migration(self, migration):
60 58
         """
61 59
         Runs a migration backwards.
62 60
         """
63  
-        print "Unapplying %s" % migration
64 61
         with self.connection.schema_editor() as schema_editor:
65 62
             project_state = self.loader.graph.project_state((migration.app_label, migration.name), at_end=False)
66 63
             migration.unapply(project_state, schema_editor)
67 64
         self.recorder.record_unapplied(migration.app_label, migration.name)
68  
-        print "Finished %s" % migration

0 notes on commit 7609e0b

Please sign in to comment.
Something went wrong with that request. Please try again.