don't indiscriminately modSchema on db check

This commit is contained in:
Damien Elmes 2012-12-28 17:23:03 +09:00
parent caa4ee685a
commit e9b24f9f3e

View File

@ -704,8 +704,8 @@ and queue = 0""", intTime(), self.usn())
ok = not problems ok = not problems
problems.append(txt) problems.append(txt)
# if any problems were found, force a full sync # if any problems were found, force a full sync
if problems: if not ok:
self.modSchema() self.modSchema(check=False)
self.save() self.save()
return ("\n".join(problems), ok) return ("\n".join(problems), ok)