From 04fdb0e51b16af375af85d2a32945eedb9128fc0 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 21 Nov 2012 10:53:18 -0800 Subject: [PATCH] Make project pyflakes clean. Added both a tox test-env for pyflakes and fixed the current pyflakes errors. This did actually fix a couple of bugs. The CI team has started using pyflakes on its projects and also has started using oslo for things, so ignoring pyflakes warnings on the oslo code was starting to get old. However, additionally, pyflakes is pretty solid, so we should maybe consider gating on it across the board. (% locals() is the biggest thing that we do that it doesn't like) Change-Id: Iac1ca62db301892b7863711162fcbc74807eb24f --- openstack/common/lockutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack/common/lockutils.py b/openstack/common/lockutils.py index d98ce8b..a342938 100644 --- a/openstack/common/lockutils.py +++ b/openstack/common/lockutils.py @@ -27,6 +27,7 @@ import weakref from eventlet import semaphore from openstack.common import cfg +from openstack.common.gettextutils import _ from openstack.common import fileutils from openstack.common import log as logging