We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d0abce commit 74eda2fCopy full SHA for 74eda2f
mcp_server/gitlab_tools.py
@@ -410,8 +410,7 @@ def _get_authorized_member_ids(project: GitlabProject) -> set[int]:
410
411
def _extract_position_info(note: dict) -> tuple[str, int | None, str]:
412
"""Extract file path, line number, and line type from a note's position."""
413
- position = note.get("position")
414
- if not position:
+ if not (position := note.get("position")):
415
return "", None, ""
416
417
file_path = position.get("new_path", "") or position.get("old_path", "")
0 commit comments