|
@@ -2,7 +2,6 @@
|
|
|
|
|
|
import time
|
|
|
|
|
|
-from sentry.constants import ObjectStatus
|
|
|
from sentry.runner import configure
|
|
|
from sentry.types.activity import ActivityType
|
|
|
|
|
@@ -336,6 +335,8 @@ def main(
|
|
|
load_performance_issues=False,
|
|
|
slow=False,
|
|
|
):
|
|
|
+ from sentry.constants import ObjectStatus
|
|
|
+
|
|
|
try:
|
|
|
user = User.objects.filter(is_superuser=True)[0]
|
|
|
except IndexError:
|