From: Jay S. Bryant Date: Fri, 19 Dec 2014 20:54:54 +0000 (-0600) Subject: Sync the latest loopingcall module from oslo-incubator X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1232101bb9cc5257aa61779c590be4325fbdc296;p=openstack-build%2Fcinder-build.git Sync the latest loopingcall module from oslo-incubator We have not done a sync of loopingcall since its dependency upon the old i18n module was removed. To get that old code removed we need to do this sync. Current HEAD in OSLO: --------------------- commit 36b0e8570b449129d6d474c03b02ceb62edb78df Date: Thu Dec 11 11:27:08 2014 +0100 We shouldn't replace `oslo-incubator` in comments Change being merged with this patch: --------------------- 5d40e143 - Remove code that moved to oslo.i18n Change-Id: I2fd9cb73cf347adfb2ce203e45d5059604ed5f7a --- diff --git a/cinder/openstack/common/loopingcall.py b/cinder/openstack/common/loopingcall.py index ec1200153..985f9c272 100644 --- a/cinder/openstack/common/loopingcall.py +++ b/cinder/openstack/common/loopingcall.py @@ -21,7 +21,7 @@ import time from eventlet import event from eventlet import greenthread -from cinder.openstack.common.gettextutils import _LE, _LW +from cinder.openstack.common._i18n import _LE, _LW from cinder.openstack.common import log as logging LOG = logging.getLogger(__name__)