summaryrefslogtreecommitdiff
path: root/ceilometer/publisher
diff options
context:
space:
mode:
authorIgor Degtiarov <idegtiarov@mirantis.com>2014-06-26 14:28:26 +0300
committerIgor Degtiarov <idegtiarov@mirantis.com>2014-07-01 13:37:21 +0300
commit92a08daa317ac57d960c5818deb7c6cfb8ef8270 (patch)
treef6227554970c8187f7debf18e70dc5f723902e63 /ceilometer/publisher
parent2d153aa8b412ef6a19420dc495685a41455279e1 (diff)
downloadceilometer-92a08daa317ac57d960c5818deb7c6cfb8ef8270.tar.gz
Fix H904 violations and re-enable gating
H904 got stricter in hacking 0.9, so fix new violations and re-enable gating. Change-Id: I7a3e9006cfb756da4893b9c0a6139a2e70c9aaf4
Diffstat (limited to 'ceilometer/publisher')
-rw-r--r--ceilometer/publisher/rpc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceilometer/publisher/rpc.py b/ceilometer/publisher/rpc.py
index 3de9dbc6..12036d92 100644
--- a/ceilometer/publisher/rpc.py
+++ b/ceilometer/publisher/rpc.py
@@ -148,8 +148,8 @@ class RPCPublisher(publisher.PublisherBase):
# something in the self.local_queue
queue = self.local_queue
self.local_queue = []
- self.local_queue = self._process_queue(queue, self.policy) + \
- self.local_queue
+ self.local_queue = (self._process_queue(queue, self.policy) +
+ self.local_queue)
if self.policy == 'queue':
self._check_queue_length()