GitHub user coderanger opened a pull request:
https://github.com/apache/libcloud/pull/250
Unpack the iterator before getting its length.
This matters for things like generators or network streams where it doesn't
have a size normally.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/libcloud dummystream
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/250.patch
----
commit 8f7a56f992016512a84f4998439ca56610c2226d
Author: Noah Kantrowitz <[email protected]>
Date: 2014-02-10T20:57:29Z
Unpack the iterator before getting its length.
This matters for things like generators or network streams where it doesn't
have a size normally.
----