Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/sentry/runner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@
import click
import sys
import sentry
import datetime
from sentry.utils.imports import import_string


# We need to run this here because of a concurrency bug in Python's locale
# with the lazy initialization.
datetime.datetime.strptime('', '')

# Parse out a pretty version for use with --version
if sentry.__build__ is None:
version_string = sentry.VERSION
Expand Down
1 change: 1 addition & 0 deletions src/sentry/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import os.path
import sys


# Add the project to the python path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))

Expand Down