summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoel Wright <joel.wright@sohonet.com>2016-06-04 11:23:02 +0100
committerMatthew Oliver <matt@oliver.net.au>2016-08-25 11:27:49 +0000
commitdaed43a44ae77a58ae52033d95f23a0bdb4d6c49 (patch)
tree523a65f3fcec228195a0f28e78e7b514fedd433b /doc
parente1e2678cd0a99955c280a813e10c6ce7494389cd (diff)
downloadpython-swiftclient-daed43a44ae77a58ae52033d95f23a0bdb4d6c49.tar.gz
Fix examples and missing code-block
This patch fixes a missing code-block section in the capabilities section of service-api.rst, and fixes the import of walk in the upload.py examples to support both python2 and python3. Change-Id: I572769f971f84e0029f2948e42c130e73517f434
Diffstat (limited to 'doc')
-rw-r--r--doc/source/service-api.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/service-api.rst b/doc/source/service-api.rst
index 50dd80e..4da68a3 100644
--- a/doc/source/service-api.rst
+++ b/doc/source/service-api.rst
@@ -756,6 +756,8 @@ the method docstring.
For each successful call to list capabilities, a result dictionary will be
returned with the contents described below:
+.. code-block:: python
+
{
'action': 'capabilities',
'timestamp': <time of the call>,