server/migractions.py
branchstable
changeset 7879 9aae456abab5
parent 7815 2a164a9cf81c
child 7894 ad0eeb0f7a8d
child 7915 a7f3245e1728
--- a/server/migractions.py	Tue Sep 27 16:04:30 2011 +0200
+++ b/server/migractions.py	Wed Sep 28 09:27:42 2011 +0200
@@ -1563,8 +1563,7 @@
         This may be useful on accidental desync between the repository schema
         and a sql database
         """
-        dbhelper = self.repo.system_source.dbhelper
-        tablesql = rschema2sql(dbhelper, self.repo.schema.rschema(rtype))
+        tablesql = rschema2sql(self.repo.schema.rschema(rtype))
         for sql in tablesql.split(';'):
             if sql.strip():
                 self.sqlexec(sql)