Merge "Do not fall back to namespaced oslo.i18n"

This commit is contained in:
Jenkins
2015-06-30 18:10:37 +00:00
committed by Gerrit Code Review

View File

@@ -12,10 +12,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
try:
import oslo_i18n as i18n
except ImportError:
from oslo import i18n
_translators = i18n.TranslatorFactory(domain='glanceclient')