Cleanup flake8 lint

This commit is contained in:
James Page 2013-09-23 09:46:45 +01:00
parent 5410686642
commit e736923671
2 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ def parse_config():
# Query Cache Configuration
mysql_config['query_cache_size'] = config['query-cache-size']
if (config['query-cache-size'] == -1 and
config['query-cache-type'] in ['ON', 'DEMAND']):
config['query-cache-type'] in ['ON', 'DEMAND']):
# Calculate the query cache size automatically
qcache_bytes = (dataset_bytes * 0.20)
qcache_bytes = int(qcache_bytes -

View File

@ -98,7 +98,7 @@ def get_cluster_hosts():
return hosts
SQL_SST_USER_SETUP = "GRANT RELOAD, LOCK TABLES, REPLICATION CLIENT ON *.*" \
" TO 'sstuser'@'localhost' IDENTIFIED BY '{}'"
" TO 'sstuser'@'localhost' IDENTIFIED BY '{}'"
def configure_sstuser(sst_password):