Skip to content

Commit

Permalink
Allow conf.py that lacks extensions config
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Jun 20, 2018
1 parent 13f8e29 commit 43133ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releases/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def make_app(**kwargs):
# Initialize extensions (the internal call to this happens at init time,
# which of course had no valid config yet here...)
if load_extensions:
for extension in real_conf['extensions']:
for extension in real_conf.get('extensions', []):
# But don't set up ourselves again, that causes errors
if extension == 'releases':
continue
Expand Down

0 comments on commit 43133ae

Please sign in to comment.