diff options
-rw-r--r-- | .envrc | bin | 361 -> 364 bytes | |||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | butler/butler.py | 2 |
3 files changed, 1 insertions, 3 deletions
Binary files differ @@ -10,7 +10,7 @@ dumps: FORCE s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/ ./dumps/load-dumps.sh -butler: dumps +butler: dumps FORCE python butler/butler.py 1+2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} python butler/butler.py 1 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} python butler/butler.py 2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} diff --git a/butler/butler.py b/butler/butler.py index 36022e0..333f503 100644 --- a/butler/butler.py +++ b/butler/butler.py @@ -67,8 +67,6 @@ print('UPDATE admin SET teamcnt=%d, butler=%d;' % ( print('UPDATE teams SET bye=2;') -print('DELETE FROM butler;') - for table in ['boards', 'rounds']: print('DELETE FROM %s;' % (table)) print('INSERT INTO %s SELECT * FROM %s.%s;' % ( |