summaryrefslogtreecommitdiff
path: root/ironic/api/controllers/base.py
diff options
context:
space:
mode:
authorJay Faulkner <jay@jvf.cc>2015-01-30 10:23:06 -0800
committerJay Faulkner <jay@jvf.cc>2015-01-30 10:23:06 -0800
commit07285a952c007c662f7f764d6b5ca7b5715844a5 (patch)
tree66ce55f818bad68481899171c7e4eab360443491 /ironic/api/controllers/base.py
parent41595327cf1851d45590d55348fa3f615e55279f (diff)
downloadironic-07285a952c007c662f7f764d6b5ca7b5715844a5.tar.gz
Add :raises: for Version constructor docstring
This fixes the nit raised by shrews in https://review.openstack.org/#/c/150821 Change-Id: I743ce1f123b6c2f4ea7a33427fdc4d30c7f37022
Diffstat (limited to 'ironic/api/controllers/base.py')
-rw-r--r--ironic/api/controllers/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ironic/api/controllers/base.py b/ironic/api/controllers/base.py
index 02722cad5..e3a7f40c4 100644
--- a/ironic/api/controllers/base.py
+++ b/ironic/api/controllers/base.py
@@ -66,6 +66,7 @@ class Version(object):
"""Create an API Version object from the supplied headers.
:param headers: webob headers
+ :raises: webob.HTTPNotAcceptable
"""
(self.major, self.minor) = Version.parse_headers(headers)
self.min = min