Drop use of namespaced oslo.i18n
Related-blueprint: drop-namespace-packages Change-Id: Ic8247cb896ba6337932d7a74618debd698584fa0
This commit is contained in:
		@@ -14,9 +14,9 @@
 | 
			
		||||
#    License for the specific language governing permissions and limitations
 | 
			
		||||
#    under the License.
 | 
			
		||||
 | 
			
		||||
from oslo import i18n
 | 
			
		||||
import oslo_i18n
 | 
			
		||||
 | 
			
		||||
_translators = i18n.TranslatorFactory(domain='oslo.concurrency')
 | 
			
		||||
_translators = oslo_i18n.TranslatorFactory(domain='oslo.concurrency')
 | 
			
		||||
 | 
			
		||||
# The primary translation function using the well-known name "_"
 | 
			
		||||
_ = _translators.primary
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user