Skip to content

Commit 4aeecb2

Browse files
committed
fix(component): remove duplicate lock refresh
This also happens conditionally later in the method.
1 parent 50f8b62 commit 4aeecb2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

weblate/trans/models/component.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2814,7 +2814,6 @@ def check_template_valid(self) -> None:
28142814

28152815
def refresh_lock(self) -> None:
28162816
"""Refresh the lock to avoid expiry in long operations."""
2817-
self.lock.reacquire()
28182817
if self.linked_component and self.linked_component.lock.is_locked:
28192818
self.linked_component.lock.reacquire()
28202819
if self.repository.lock.is_locked:

0 commit comments

Comments
 (0)