length = len(slaveUpdates) ) ) syncingGroup.addSection( HtmlReporter.Section( "problematic_updates", description = "items can't be merged because they are too dissimilar", data = '<hr>'.join([update.tabulate(tablefmt="html") for update in problematicUpdates ]), length = len(problematicUpdates) ) ) reporter.addGroup(syncingGroup) resFile.write( reporter.getDocumentUnicode() ) ######################################### # Update databases ######################################### allUpdates = staticUpdates if do_problematic: allUpdates += problematicUpdates print debugUtils.hashify("Update databases (%d)" % len(allUpdates)) print timediff() masterFailures = [] slaveFailures = []