diff --git a/oslo/messaging/_drivers/common.py b/oslo/messaging/_drivers/common.py index 494bd2639..dd2f4baee 100644 --- a/oslo/messaging/_drivers/common.py +++ b/oslo/messaging/_drivers/common.py @@ -283,7 +283,7 @@ class CommonRpcContext(object): return self.from_dict(self.to_dict()) def update_store(self): - #local.store.context = self + # local.store.context = self pass diff --git a/oslo/messaging/_drivers/impl_zmq.py b/oslo/messaging/_drivers/impl_zmq.py index b78c64528..84830f323 100644 --- a/oslo/messaging/_drivers/impl_zmq.py +++ b/oslo/messaging/_drivers/impl_zmq.py @@ -329,7 +329,7 @@ class ConsumerBase(object): @classmethod def normalize_reply(self, result, replies): - #TODO(ewindisch): re-evaluate and document this method. + # TODO(ewindisch): re-evaluate and document this method. if isinstance(result, types.GeneratorType): return list(result) elif replies: @@ -547,7 +547,7 @@ class ZmqReactor(ZmqBaseReactor): super(ZmqReactor, self).__init__(conf) def consume(self, sock): - #TODO(ewindisch): use zero-copy (i.e. references, not copying) + # TODO(ewindisch): use zero-copy (i.e. references, not copying) data = sock.recv() LOG.debug("CONSUMER RECEIVED DATA: %s", data) diff --git a/oslo/messaging/_drivers/matchmaker.py b/oslo/messaging/_drivers/matchmaker.py index 6bb4f7c4e..5ebf56614 100644 --- a/oslo/messaging/_drivers/matchmaker.py +++ b/oslo/messaging/_drivers/matchmaker.py @@ -126,10 +126,10 @@ class MatchMakerBase(object): def add_binding(self, binding, rule, last=True): self.bindings.append((binding, rule, False, last)) - #NOTE(ewindisch): kept the following method in case we implement the - # underlying support. - #def add_negate_binding(self, binding, rule, last=True): - # self.bindings.append((binding, rule, True, last)) + # NOTE(ewindisch): kept the following method in case we implement the + # underlying support. + # def add_negate_binding(self, binding, rule, last=True): + # self.bindings.append((binding, rule, True, last)) def queues(self, key): workers = []