From 6275e5771813db411e6ae621e0316c879a67024a Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 30 Mar 2012 23:04:02 -0400 Subject: [PATCH] pyflakes: Unused import / unused var --- bin/ansible | 1 - lib/ansible/connection.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/ansible b/bin/ansible index 75529ec9ae2..c281212333b 100755 --- a/bin/ansible +++ b/bin/ansible @@ -21,7 +21,6 @@ import sys import getpass -import shlex import time from optparse import OptionParser diff --git a/lib/ansible/connection.py b/lib/ansible/connection.py index f8e01c5e0b3..d5d19a0b07b 100755 --- a/lib/ansible/connection.py +++ b/lib/ansible/connection.py @@ -113,7 +113,7 @@ class ParamikoConnection(object): # print "waiting on %s" % result_file time.sleep(1) try: - stat = sftp.stat(result_file) + sftp.stat(result_file) break except IOError: pass