summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZane Bitter <zbitter@redhat.com>2018-07-18 16:35:03 -0400
committerZane Bitter <zbitter@redhat.com>2018-07-18 16:35:03 -0400
commitd04bb529dc184470b6de45a1033cd2981838d9f9 (patch)
treebca1a2d8be74052d87f133c93a71c58a3c1b9889 /bin
parentc583cbf9b25a8747b7eb2317c970acaecb9484f3 (diff)
downloadheat-cfntools-d04bb529dc184470b6de45a1033cd2981838d9f9.tar.gz
Fix pep8 errors with later versions of hacking
We are stuck on a very old version of hacking (0.8). In order to move forward, we need to fix a bunch of things that flake8 will complain about. Change-Id: If40ac29094b90c5bae63e7423061a190655f50a3
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cfn-push-stats4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cfn-push-stats b/bin/cfn-push-stats
index d1171ee..29f1fab 100755
--- a/bin/cfn-push-stats
+++ b/bin/cfn-push-stats
@@ -23,7 +23,7 @@ import subprocess
# Override BOTO_CONFIG, which makes boto look only at the specified
# config file, instead of the default locations
os.environ['BOTO_CONFIG'] = '/var/lib/heat-cfntools/cfn-boto-cfg'
-from boto.ec2 import cloudwatch
+from boto.ec2 import cloudwatch # noqa
log_format = '%(levelname)s [%(asctime)s] %(message)s'
@@ -38,7 +38,7 @@ except ImportError:
LOG.warning("psutil not available. If you want process and memory "
"statistics, you need to install it.")
-from heat_cfntools.cfntools import cfn_helper
+from heat_cfntools.cfntools import cfn_helper # noqa
KILO = 1024
MEGA = 1048576