r_stats = relation_stats(stats, uh.quote_columns())
response['relation_stats'] = r_stats
- if response['db_changed']:
+ if response['report_success']:
log_success(response, stats, i_rows, r_stats)
return response
# Constants
CHANGED_RESPONSE = {
'db': 'somedb',
- 'db_changed': True,
+ 'report_success': True,
'filename': 'file',
'lines': 5,
'null_rep': 'NULL',
'user': 'someuser',
}
-UNCHANGED_RESPONSE = {'db_changed': False}
+UNCHANGED_RESPONSE = {'report_success': False}
HOME_PAGE_SETTINGS = {'type': 'URL',
'source': '/'}