summaryrefslogtreecommitdiff
path: root/oslo/messaging/_drivers/matchmaker_ring.py
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2014-08-04 14:23:32 +0200
committerChristian Berendt <berendt@b1-systems.de>2014-08-04 14:25:33 +0200
commit7fdeddaa3be83f3e6ee254bce78f99b903095b16 (patch)
treec63e0955becf02778e0b2cad2c6f8fc06e8d7f14 /oslo/messaging/_drivers/matchmaker_ring.py
parentee23b541788c70749ea03546656dac0ca0e5666e (diff)
Replace lambda method _
Instead of the lambda method _ the method should be imported from oslo.messaging.openstack.common.gettextutils. Change-Id: I373337cc1227b0d7b7bf93603b53a64de83721a9
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Zhongyue Luo <zhongyue.luo@gmail.com> Code-Review+2: Mehdi Abaakouk <mehdi.abaakouk@enovance.com> Workflow+1: Mehdi Abaakouk <mehdi.abaakouk@enovance.com> Code-Review+1: Markus Zoeller <mzoeller@de.ibm.com> Submitted-by: Jenkins Submitted-at: Tue, 26 Aug 2014 22:58:41 +0000 Reviewed-on: https://review.openstack.org/111702 Project: openstack/oslo.messaging Branch: refs/heads/master
Diffstat (limited to 'oslo/messaging/_drivers/matchmaker_ring.py')
-rw-r--r--oslo/messaging/_drivers/matchmaker_ring.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/oslo/messaging/_drivers/matchmaker_ring.py b/oslo/messaging/_drivers/matchmaker_ring.py
index 40db24b..6ef69ac 100644
--- a/oslo/messaging/_drivers/matchmaker_ring.py
+++ b/oslo/messaging/_drivers/matchmaker_ring.py
@@ -22,9 +22,7 @@ import logging
22 22
23from oslo.config import cfg 23from oslo.config import cfg
24from oslo.messaging._drivers import matchmaker as mm 24from oslo.messaging._drivers import matchmaker as mm
25 25from oslo.messaging.openstack.common.gettextutils import _
26# FIXME(markmc): remove this
27_ = lambda s: s
28 26
29matchmaker_opts = [ 27matchmaker_opts = [
30 # Matchmaker ring file 28 # Matchmaker ring file