mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 04:41:27 +00:00
Remove variable per pyflakes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user