Update Oslo imports to remove namespace package
Change-Id: I4ec9b2a310471e4e07867073e9577731ac34027d Blueprint: drop-namespace-packages
This commit is contained in:
		@@ -18,10 +18,10 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html .
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from oslo import i18n
 | 
					import oslo_i18n
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_translators = i18n.TranslatorFactory(domain='oslo.utils')
 | 
					_translators = oslo_i18n.TranslatorFactory(domain='oslo.utils')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The primary translation function using the well-known name "_"
 | 
					# The primary translation function using the well-known name "_"
 | 
				
			||||||
_ = _translators.primary
 | 
					_ = _translators.primary
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user