Skip to content

Commit

Permalink
Fix env conf expose
Browse files Browse the repository at this point in the history
  • Loading branch information
darklow committed Jan 30, 2016
1 parent ac92121 commit 75d44b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sentry.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,5 @@

# Expose any env that starts with SC_
for env_key, env_val in os.environ.items():
if env_key.lower().startswith('SC_'):
globals()[env_key[3:]] = env_val
if env_key.startswith('SC_'):
setattr(sys.modules[__name__], env_key[3:], env_val)

0 comments on commit 75d44b9

Please sign in to comment.