提交 c39f13db authored 作者: Frederic Bastien's avatar Frederic Bastien

made work with python 2.4.3

上级 9982dc5c
......@@ -194,8 +194,8 @@ def refresh_lock(lock_file):
lock_write.write(unique_id + '\n')
lock_write.close()
return unique_id
class Unlocker():
class Unlocker(object):
"""
Class wrapper around release mechanism so that the lock is automatically
released when the program exits (even when crashing or being interrupted),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论