diff options
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() |