diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-06-13 16:12:23 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-07-26 07:31:17 -0700 |
commit | cd9d8e45c6b8a747069d0cec2c1ff0360ebe6d73 (patch) | |
tree | 34a18abc1b5b0e4e151333a9af6cff697c1c4578 /nova/policy.py | |
parent | 84b730b70f362f195728f50361ab54513efefe66 (diff) | |
download | nova-cd9d8e45c6b8a747069d0cec2c1ff0360ebe6d73.tar.gz |
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
Diffstat (limited to 'nova/policy.py')
-rw-r--r-- | nova/policy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/policy.py b/nova/policy.py index 68f4496964..12cf3648ab 100644 --- a/nova/policy.py +++ b/nova/policy.py @@ -22,6 +22,7 @@ import os.path from oslo.config import cfg from nova import exception +from nova.openstack.common.gettextutils import _ from nova.openstack.common import policy from nova import utils |