From 0f2643923432c062f9190d875fb55a0247330600 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 20 Jul 2013 12:52:17 -0400 Subject: [PATCH] Remove variable per pyflakes --- lib/ansible/callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index 0e0fa441289..3422336f858 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -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