summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorZhongyue Luo <zhongyue.nah@intel.com>2012-11-14 18:25:59 +0800
committerZhongyue Luo <zhongyue.nah@intel.com>2012-11-14 22:16:24 +0900
commit5beeed884753c3fb196cb66684d761dfc424b0db (patch)
tree38a884a4507fc07d7ed10269fe1c9a23a1d1afd1 /nova/utils.py
parent6375ca7eb56b13bb4794b843a5eaef8118f0dff6 (diff)
downloadnova-5beeed884753c3fb196cb66684d761dfc424b0db.tar.gz
nova-5beeed884753c3fb196cb66684d761dfc424b0db.tar.xz
nova-5beeed884753c3fb196cb66684d761dfc424b0db.zip
Remove gen_uuid()
Removed gen_uuid and uuid related unittests Replaced utils.gen_uuid() with uuid.uuid4() Change-Id: I3020a0d67525eb73cfb8873d2570c93e2022bb76
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/utils.py b/nova/utils.py
index 5f78b93da..7ee58bdd8 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -37,7 +37,6 @@ import struct
import sys
import tempfile
import time
-import uuid
import weakref
from xml.sax import saxutils
@@ -776,10 +775,6 @@ def parse_server_string(server_str):
return ('', '')
-def gen_uuid():
- return uuid.uuid4()
-
-
def bool_from_str(val):
"""Convert a string representation of a bool into a bool value"""