diff -r be04706eacc9 -r 9aae456abab5 server/migractions.py --- 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)