]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Correct fcntl.flock use in Pidfile.unlock
authorCedric Brandily <zzelle@gmail.com>
Wed, 8 Jul 2015 15:38:37 +0000 (15:38 +0000)
committerCedric Brandily <zzelle@gmail.com>
Thu, 9 Jul 2015 07:54:38 +0000 (09:54 +0200)
commit324787c0b4bf6b8208c781a4c79dc7f14e67d8d6
tree2004f54d172d0ca0f21be00db4830fbaf7c084aa
parented4fb282d282719e899095b95b2c77350c5cc0ce
Correct fcntl.flock use in Pidfile.unlock

This change corrects Pidfile.unlock[1] implementation, indeed currently
it uses fcntl.flock response as a condition but fcntl.flock is a "void"
function.

[1] neutron.agent.linux.daemon

Closes-Bug: #1472725
Change-Id: If2320f29095ed388f9f6fe59d4d9b80d04adaa85
neutron/agent/linux/daemon.py