Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Commit

Permalink
add comments to explain that we need DEFAULT section params
Browse files Browse the repository at this point in the history
  • Loading branch information
inkhey committed Jun 27, 2018
1 parent 4d1f9fb commit 57fc035
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tracim/command/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ def take_action(self, parsed_args: argparse.Namespace) -> None:
config_uri = parsed_args.config_file
setup_logging(config_uri)
settings = get_appsettings(config_uri)
# INFO - G.M - 2018-06-178 - We need to add info from [DEFAULT]
# section of config file in order to have both global and
# web app specific param.
settings.update(settings.global_conf)
self._create_schema(settings)
self._populate_database(settings, add_test_data=parsed_args.test_data)
Expand Down

0 comments on commit 57fc035

Please sign in to comment.