Commit 31ff0993 authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Replace direct access to livelock.lockfile by a method call



.. so that it works for LiveLockName as well.
Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent ed97d401
......@@ -71,10 +71,10 @@ def GetWConfdContext(ec_id, livelock):
"""
if ec_id is None:
return (threading.current_thread().getName(),
livelock.lockfile.name, os.getpid())
livelock.GetPath(), os.getpid())
else:
return (ec_id,
livelock.lockfile.name, os.getpid())
livelock.GetPath(), os.getpid())
def GetConfig(ec_id, livelock, **kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment