Permalink
Browse files

fix deprecation warnings

  • Loading branch information...
1 parent 041eaa5 commit 9b1bf6f947486037c7b6d982f98c4177d1280469 Thomas Vander Stichele committed Aug 26, 2013
Showing with 9 additions and 9 deletions.
  1. +2 −2 templates/initial_data.json.erb
  2. +7 −7 templates/sentry.conf.py.erb
@@ -12,8 +12,8 @@
"last_login": "2008-09-04 14:25:29",
"groups": [],
"user_permissions": [],
- "password": "sha1$<%= salt %>$<%= hexdigest %>",
- "email": "<%= email %>",
+ "password": "sha1$<%= @salt %>$<%= @hexdigest %>",
+ "email": "<%= @email %>",
"date_joined": "2008-09-04 14:25:29"
}
}
@@ -17,11 +17,11 @@ DATABASES = {
<% if @url_prefix -%>
# No trailing slash!
-SENTRY_URL_PREFIX = '<%= url_prefix %><%= sub_url %>'
+SENTRY_URL_PREFIX = '<%= @url_prefix %><%= @sub_url %>'
# see https://github.com/getsentry/sentry/issues/392#issuecomment-5106565
<% if @sub_url -%>
-FORCE_SCRIPT_NAME = '<%= sub_url %>'
-SESSION_COOKIE_PATH = '<%= sub_url %>'
+FORCE_SCRIPT_NAME = '<%= @sub_url %>'
+SESSION_COOKIE_PATH = '<%= @sub_url %>'
<% end -%>
<% else -%>
@@ -33,12 +33,12 @@ SESSION_COOKIE_PATH = '<%= sub_url %>'
# SENTRY_KEY is a unique randomly generated secret key for your server, and it
# acts as a signing token
-SENTRY_KEY = '<%= key %>'
+SENTRY_KEY = '<%= @key %>'
SENTRY_WEB_HOST = '0.0.0.0'
-SENTRY_WEB_PORT = <%= web_port %>
+SENTRY_WEB_PORT = <%= @web_port %>
SENTRY_WEB_OPTIONS = {
- 'workers': <%= workers %>, # the number of gunicorn workers
+ 'workers': <%= @workers %>, # the number of gunicorn workers
}
# defaults to False
@@ -48,5 +48,5 @@ SENTRY_WEB_OPTIONS = {
CSRF_COOKIE_NAME = 'sentrycsrftoken'
<% if @extra_cfg -%>
-<%= extra_cfg -%>
+<%= @extra_cfg -%>
<% end -%>

0 comments on commit 9b1bf6f

Please sign in to comment.