[POS-commit] r6345 - stoqlib/trunk/stoqlib/database

Johan Dahlin jdahlin at async.com.br
Mon Apr 9 10:54:50 BRT 2007


Author: jdahlin
Date: Mon Apr  9 10:54:49 2007
New Revision: 6345

Modified:
   stoqlib/trunk/stoqlib/database/migration.py

Log:
Call public method to check if schema is up to date


Modified: stoqlib/trunk/stoqlib/database/migration.py
==============================================================================
--- stoqlib/trunk/stoqlib/database/migration.py	(original)
+++ stoqlib/trunk/stoqlib/database/migration.py	Mon Apr  9 10:54:49 2007
@@ -100,7 +100,7 @@
         conn = get_connection()
         log.info("Updating schema")
 
-        if self._check_up_to_date(conn):
+        if self.check_updated(conn):
             log.info("Schema is already up to date")
             return
 


More information about the POS-commit mailing list