Skip to content

Commit 100731c

Browse files
committed
Improve docstring
1 parent a6c2481 commit 100731c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/projects/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ def vcs_repo(self, version=LATEST, environment=None):
653653

654654
def repo_nonblockinglock(self, version, max_lock_age=None):
655655
"""
656-
Return a ``NonBlockingLock`` or raise an exception.
656+
Return a ``NonBlockingLock`` to acquire the lock via context manager.
657657
658658
:param version: project's version that want to get the lock for.
659659
:param max_lock_age: time (in seconds) to consider the lock's age is old

0 commit comments

Comments
 (0)