Export to GitHub

pylockfile - issue #32

Timeout 0 doesn't work right


Posted on Aug 27, 2013 by Happy Rhino

What steps will reproduce the problem? 1. Try to acquire lock with timeout = 0

What is the expected output? What do you see instead? Timeout=0 should behave the same as timeout=0.0001 or whatever. Instead, it treats timeout=0 as timeout=None, thus disabling the feature.

Comment #1

Posted on Aug 27, 2013 by Happy Rhino

I submitted a pull request for this.

Comment #2

Posted on Aug 27, 2013 by Grumpy Lion

I already fixed this, just hasn't been pushed yet.

Status: Duplicate

Labels:
Type-Defect Priority-Medium