Skip to content

Commit cca7bbf

Browse files
committed
minor fixes
1 parent e057c34 commit cca7bbf

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/sentry/api/helpers/group_index/update.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,7 @@ def update_groups(
315315
.order_by("-sort")[0]
316316
)
317317
activity_type = ActivityType.SET_RESOLVED_IN_RELEASE.value
318-
activity_data = {
319-
# no version yet
320-
"version": ""
321-
}
318+
activity_data = {"version": ""}
322319

323320
serialized_user = user_service.serialize_many(
324321
filter=dict(user_ids=[user.id]), as_user=user

src/sentry/api/helpers/group_index/validators/status_details.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,4 @@ def validate_inUpcomingRelease(self, value: bool) -> "Release":
7171
.order_by("-sort")[0]
7272
)
7373
except IndexError:
74-
raise serializers.ValidationError(
75-
"No release data present in the system to form a basis for 'Next Release'"
76-
)
74+
raise serializers.ValidationError("No release data present in the system.'")

0 commit comments

Comments
 (0)