From 0cfafac2468afe6b601a985495382aae3351b217 Mon Sep 17 00:00:00 2001 From: Paul Michali <pcm@cisco.com> Date: Thu, 26 Jun 2014 14:19:52 -0400 Subject: [PATCH] encoding error in file There is a non-printable character (c2a0) in a comment line, which in a new Neutron test case causes a StringException. There are three issues here. 1) Encoding issue in the file. 2) No detection of encoding issues in files. 3) Neutron tests mask the failure detail This addresses the first issue. Bug 1334798 in Neutron was created for the last issue. Oslo team is aware of the second issue. Related-Bug: #1334798 Change-Id: I8cfa6c93085a26666a8b4bee06dcd52709d04a95 --- oslo/messaging/_drivers/impl_fake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo/messaging/_drivers/impl_fake.py b/oslo/messaging/_drivers/impl_fake.py index 9fc676259..dfe243f53 100644 --- a/oslo/messaging/_drivers/impl_fake.py +++ b/oslo/messaging/_drivers/impl_fake.py @@ -45,7 +45,7 @@ class FakeListener(base.Listener): self._exchange_manager = exchange_manager self._targets = targets - # NOTE(sileht): Ensure that all needed queues exists even the listener + # NOTE(sileht): Ensure that all needed queues exists even the listener # have not been polled yet for target in self._targets: exchange = self._exchange_manager.get_exchange(target.exchange)