Skip to content

Commit 5479cdd

Browse files
committed
pep8 whitespace compliance
1 parent b629c7b commit 5479cdd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/api/util/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
import json
22

3+
34
def get_settings():
45
"""Parses the settings from redis-live.conf.
56
"""
67
# TODO: Consider YAML. Human writable, machine readable.
78
return json.load(open("redis-live.conf"))
89

10+
911
def get_redis_servers():
1012
config = get_settings()
1113
return config["RedisServers"]
1214

15+
1316
def get_redis_stats_server():
1417
config = get_settings()
1518
return config["RedisStatsServer"]
1619

20+
1721
def get_data_store_type():
1822
config = get_settings()
1923
return config["DataStoreType"]

0 commit comments

Comments
 (0)