Remove the monkey patching of _ into the builtins

Previous _ was monkey patched into builtins whenever
certain modules were imported. This removes that and
simply imports it when it is needed.

Change-Id: I0af2c6d8a230e94440d655d13cab9107ac20d13c
This commit is contained in:
Alex Gaynor
2013-06-13 16:12:23 -07:00
parent 84b730b70f
commit cd9d8e45c6
303 changed files with 311 additions and 39 deletions

View File

@@ -30,6 +30,7 @@ from nova.image import glance
from nova import network
from nova.network import model as network_model
from nova.openstack.common import excutils
from nova.openstack.common.gettextutils import _
from nova.openstack.common import log
from nova.openstack.common.notifier import api as notifier_api
from nova.openstack.common import timeutils