diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-02-02 15:24:34 -0800 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-02-02 15:29:07 -0800 |
| commit | b863fb3744170e5aa44083fd53fa92b3b9c3fb04 (patch) | |
| tree | 542325ed5bc55cea1011ffc92caa0dd1c1b2366d | |
| parent | 1a88c64535bbf88ccbf1b94fbd01d5bd158885ea (diff) | |
Make crypto use absolute imports
* Fixes bug 925792
* Cleans up some extra imports as well
Change-Id: Ibea2411f552747e074c8d2e96468e3b09bf9c9c9
| -rw-r--r-- | nova/crypto.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nova/crypto.py b/nova/crypto.py index a8b10de9b..ddc2f76a0 100644 --- a/nova/crypto.py +++ b/nova/crypto.py @@ -22,25 +22,24 @@ Includes root and intermediate CAs, SSH key_pairs and x509 certificates. """ +from __future__ import absolute_import + import base64 -import gettext import hashlib import os import shutil import string import tempfile -import utils import Crypto.Cipher.AES -gettext.install('nova', unicode=1) - from nova.common import cfg from nova import context from nova import db from nova import exception from nova import flags from nova import log as logging +from nova import utils LOG = logging.getLogger("nova.crypto") |
