server/migractions.py
changeset 7894 ad0eeb0f7a8d
parent 7845 2172978be237
parent 7879 9aae456abab5
child 7896 4c954e1e73ef
--- a/server/migractions.py	Thu Sep 29 14:07:37 2011 +0200
+++ b/server/migractions.py	Thu Sep 29 14:47:04 2011 +0200
@@ -1571,8 +1571,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)