Skip to content

Commit

Permalink
Revert "Move the config into its own class (#10231)"
Browse files Browse the repository at this point in the history
This reverts commit bfef1f2.
  • Loading branch information
Hexcles committed Apr 27, 2018
1 parent 500811b commit 5e535c4
Show file tree
Hide file tree
Showing 9 changed files with 318 additions and 777 deletions.
4 changes: 3 additions & 1 deletion tools/ci/make_hosts_file.py
Expand Up @@ -3,7 +3,7 @@

from ..localpaths import repo_root

from ..serve.serve import load_config, make_hosts_file
from ..serve.serve import load_config, normalise_config, make_hosts_file

def create_parser():
parser = argparse.ArgumentParser()
Expand All @@ -14,4 +14,6 @@ def run(**kwargs):
config = load_config(os.path.join(repo_root, "config.default.json"),
os.path.join(repo_root, "config.json"))

config = normalise_config(config, {})

print(make_hosts_file(config, kwargs["address"]))

0 comments on commit 5e535c4

Please sign in to comment.