Merge "glusterfs: add missing i18n import"

This commit is contained in:
Jenkins 2015-12-03 16:00:28 +00:00 committed by Gerrit Code Review
commit 6e371442f0
2 changed files with 1 additions and 5 deletions

View File

@ -32,6 +32,7 @@ from oslo_config import cfg
from oslo_log import log
from manila import exception
from manila.i18n import _
from manila.i18n import _LE
from manila.share import driver
from manila.share.drivers import ganesha

View File

@ -29,10 +29,5 @@
"""
import eventlet
from six.moves import builtins
eventlet.monkey_patch()
# See http://code.google.com/p/python-nose/issues/detail?id=373
# The code below enables nosetests to work with i18n _() blocks
setattr(builtins, '_', lambda x: x)