summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorMichael Gundlach <michael.gundlach@rackspace.com>2010-10-13 16:36:33 -0400
committerMichael Gundlach <michael.gundlach@rackspace.com>2010-10-13 16:36:33 -0400
commitbeebed574bba9ef0e7bbeedd554a13ad5ded375a (patch)
tree3b35c1e18dc6604023474f871903b0d12eabb02e /nova/utils.py
parent79a2c349ca5772a69b6f7f28a768e711d6db1524 (diff)
parenta4aa6725be683e7e1f35df1e54069b755d19551b (diff)
downloadnova-beebed574bba9ef0e7bbeedd554a13ad5ded375a.tar.gz
nova-beebed574bba9ef0e7bbeedd554a13ad5ded375a.tar.xz
nova-beebed574bba9ef0e7bbeedd554a13ad5ded375a.zip
Merge from trunk
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/utils.py b/nova/utils.py
index b1699bda8..10b27ffec 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -128,8 +128,6 @@ def runthis(prompt, cmd, check_exit_code = True):
def generate_uid(topic, size=8):
if topic == "i":
# Instances have integer internal ids.
- #TODO(gundlach): We should make this more than 32 bits, but we need to
- #figure out how to make the DB happy with 64 bit integers.
return random.randint(0, 2**32-1)
else:
characters = '01234567890abcdefghijklmnopqrstuvwxyz'