py-sherlock / sherlock

Easy distributed locks for Python with a choice of backends.
MIT License
374 stars 35 forks source link

Fix error message on acquire failure in etcd backed #40

Closed vishalkanaujia closed 1 year ago

vishalkanaujia commented 4 years ago

The current error message

raise LockException('Lock could not be released because it '
                                'was been acquired by this instance.')

It should be ``` raise LockException('Lock could not be released because it ' 'was not acquired by this instance.')