Remove variable per pyflakes
This commit is contained in:
parent
e1167d6977
commit
0f26439234
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ def log_flock(runner):
|
|||
if runner is not None:
|
||||
try:
|
||||
fcntl.lockf(runner.output_lockfile, fcntl.LOCK_EX)
|
||||
except OSError, e:
|
||||
except OSError:
|
||||
# already got closed?
|
||||
pass
|
||||
|
||||
|
@ -97,7 +97,7 @@ def log_unflock(runner):
|
|||
if runner is not None:
|
||||
try:
|
||||
fcntl.lockf(runner.output_lockfile, fcntl.LOCK_UN)
|
||||
except OSError, e:
|
||||
except OSError:
|
||||
# already got closed?
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue