summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveed Massjouni <naveedm9@gmail.com>2011-03-24 01:41:38 -0400
committerNaveed Massjouni <naveedm9@gmail.com>2011-03-24 01:41:38 -0400
commitf52a2a8a440b303e5289815ab4f6c2d24bfdc59f (patch)
tree49850da61cff623073db8a3ceb55c3381f76f560
parent61c930606d71ed7cd5e08c238c7f297294a42f82 (diff)
downloadnova-f52a2a8a440b303e5289815ab4f6c2d24bfdc59f.tar.gz
nova-f52a2a8a440b303e5289815ab4f6c2d24bfdc59f.tar.xz
nova-f52a2a8a440b303e5289815ab4f6c2d24bfdc59f.zip
Fixed the docstring for common.get_id_from_href
-rw-r--r--nova/api/openstack/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py
index 21ceec45e..bff050347 100644
--- a/nova/api/openstack/common.py
+++ b/nova/api/openstack/common.py
@@ -79,10 +79,10 @@ def get_image_id_from_image_hash(image_service, context, image_hash):
def get_id_from_href(href):
- """Return the id portion of a url.
+ """Return the id portion of a url as an int.
Given: http://www.foo.com/bar/123?q=4
- Returns: 4
+ Returns: 123
"""
try: