summaryrefslogtreecommitdiff
path: root/glance_store
diff options
context:
space:
mode:
Diffstat (limited to 'glance_store')
-rw-r--r--glance_store/_drivers/cinder.py2
-rw-r--r--glance_store/_drivers/filesystem.py2
-rw-r--r--glance_store/_drivers/sheepdog.py2
-rw-r--r--glance_store/_drivers/swift/store.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/glance_store/_drivers/cinder.py b/glance_store/_drivers/cinder.py
index 3b3f64e..3fabdfd 100644
--- a/glance_store/_drivers/cinder.py
+++ b/glance_store/_drivers/cinder.py
@@ -603,7 +603,7 @@ class Store(glance_store.driver.Store):
:param location: `glance_store.location.Location` object, supplied
from glance_store.location.get_location_from_uri()
:raises: `glance_store.exceptions.NotFound` if image does not exist
- :rtype int
+ :rtype: int
"""
loc = location.store_location
diff --git a/glance_store/_drivers/filesystem.py b/glance_store/_drivers/filesystem.py
index cfcef90..5de011d 100644
--- a/glance_store/_drivers/filesystem.py
+++ b/glance_store/_drivers/filesystem.py
@@ -565,7 +565,7 @@ class Store(glance_store.driver.Store):
:param location: `glance_store.location.Location` object, supplied
from glance_store.location.get_location_from_uri()
:raises: `glance_store.exceptions.NotFound` if image does not exist
- :rtype int
+ :rtype: int
"""
filepath, filesize = self._resolve_location(location)
msg = _("Found image at %s.") % filepath
diff --git a/glance_store/_drivers/sheepdog.py b/glance_store/_drivers/sheepdog.py
index 6cfa561..57ba0bf 100644
--- a/glance_store/_drivers/sheepdog.py
+++ b/glance_store/_drivers/sheepdog.py
@@ -328,7 +328,7 @@ class Store(glance_store.driver.Store):
:param location: `glance_store.location.Location` object, supplied
from glance_store.location.get_location_from_uri()
:raises: `glance_store.exceptions.NotFound` if image does not exist
- :param rtype: int
+ :rtype: int
"""
loc = location.store_location
diff --git a/glance_store/_drivers/swift/store.py b/glance_store/_drivers/swift/store.py
index 5586cc2..7801be3 100644
--- a/glance_store/_drivers/swift/store.py
+++ b/glance_store/_drivers/swift/store.py
@@ -1099,7 +1099,7 @@ class BaseStore(driver.Store):
:param auth_token: auth token
:param storage_url: swift storage url
:return: swiftclient connection that allows to request container and
- others
+ others
"""
# initialize a connection
return swiftclient.Connection(