diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-05-26 17:16:57 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-05-26 17:16:57 +0000 |
commit | 7ab349097852f2fa3b1543b3b1f94e2a28b09bd6 (patch) | |
tree | 2ff7b3d1acffe71f42bcf6e954a7ea0fb537a260 /doc/source | |
parent | 064822181a2f1fe16c5e94f33eb7781ef7a01d59 (diff) | |
parent | f931a20d25cf34a2b425088449d0ab5b1613f790 (diff) | |
download | python-glanceclient-7ab349097852f2fa3b1543b3b1f94e2a28b09bd6.tar.gz |
Merge "Fixed doc example"
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/index.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index 4de91d7..70aa4a3 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -17,7 +17,7 @@ In order to use the python api directly, you must first obtain an auth token and 'active' >>> image.update(properties=dict(my_custom_property='value')) >>> with open('/tmp/copyimage.iso', 'wb') as f: - for chunk in image.data: + for chunk in image.data(): f.write(chunk) >>> image.delete() |