Commit 39911db0 authored by Jérome Perrin's avatar Jérome Perrin

runUnitTest: remove useless warning before overwriting dump

At this point, Data.fs is already updated, so not keeping this dump would just leave you with inconsistent ZODB and catalog.
parent 96f90db3
...@@ -39,10 +39,6 @@ if save_mysql: ...@@ -39,10 +39,6 @@ if save_mysql:
# The output of mysqldump needs to merge many lines at a time # The output of mysqldump needs to merge many lines at a time
# for performance reasons (merging lines is at most 10 times # for performance reasons (merging lines is at most 10 times
# faster, so this produce somewhat not nice to read sql # faster, so this produce somewhat not nice to read sql
if os.path.exists(dump_sql_path):
_print("About to overwrite mysqldump at %s (press Ctrl+C to abort)" %
dump_sql_path)
time.sleep(5)
command = 'mysqldump %s > %s' % (getMySQLArguments(), dump_sql_path,) command = 'mysqldump %s > %s' % (getMySQLArguments(), dump_sql_path,)
if verbosity: if verbosity:
_print('Dumping MySQL database with %s ...' % command) _print('Dumping MySQL database with %s ...' % command)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment