Merge "Fixed doc example"

This commit is contained in:
Jenkins 2015-05-26 17:16:57 +00:00 committed by Gerrit Code Review
commit 7ab3490978
1 changed files with 1 additions and 1 deletions

View File

@ -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()