Skip to content

Commit

Permalink
Merge pull request #16 from neicnordic/feature/complete-env-var-config
Browse files Browse the repository at this point in the history
Removed config assertion to enable config-file less config
  • Loading branch information
jbygdell authored Nov 8, 2019
2 parents 19899db + d066b95 commit e872ecc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lega/utils/amqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ def get_connection(domain, blocking=True):
heartbeat values are read from the CONF argument.
So are the SSL options.
"""
assert domain in CONF.sections(), "Section not found in config file"

LOG.info(f'Getting a connection to {domain}')
params = CONF.get_value(domain, 'connection', raw=True)
LOG.debug(f"Initializing a connection to: {params}")
Expand Down

0 comments on commit e872ecc

Please sign in to comment.