Fix H307 violations and re-enable gating

H307 is a new rule in hacking 0.9, so fix new violations and
re-enable gating.

Change-Id: I805d10427ebeaee36589936f77a2cf0932c1378e
This commit is contained in:
Igor Degtiarov
2014-06-27 11:47:12 +03:00
parent 303a1ce704
commit 2d153aa8b4
21 changed files with 24 additions and 42 deletions

View File

@@ -17,6 +17,7 @@ import datetime
import mock
from oslo.config import cfg
from ceilometer.openstack.common import log
from ceilometer.openstack.common import test
from ceilometer.orchestration import notifications
from ceilometer import sample
@@ -38,7 +39,6 @@ STACK_ARN = u'arn:openstack:heat::%s:stacks/%s/%s' % (TENANT_ID,
CONF = cfg.CONF
CONF.set_override('use_stderr', True)
from ceilometer.openstack.common import log
LOG = log.getLogger(__name__)