提交 32f00eb5 authored 作者: Frederic's avatar Frederic

Remove useless code

上级 1ddcd737
...@@ -366,8 +366,6 @@ class Unlocker(object): ...@@ -366,8 +366,6 @@ class Unlocker(object):
# the same try/except block. The reason is that while the attempt to # the same try/except block. The reason is that while the attempt to
# remove the file may fail (e.g. because for some reason this file does # remove the file may fail (e.g. because for some reason this file does
# not exist), we still want to try and remove the directory. # not exist), we still want to try and remove the directory.
if os is None:
return
# Check if someone else didn't took our lock. # Check if someone else didn't took our lock.
lock_file = os.path.join(self.tmp_dir, 'lock') lock_file = os.path.join(self.tmp_dir, 'lock')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论