Reviewed: https://review.openstack.org/16574 Committed: http://github.com/openstack/glance/commit/5daed10fc3c7a0bbf55c8e7407ceea2c86135f95 Submitter: Jenkins Branch: master
commit 5daed10fc3c7a0bbf55c8e7407ceea2c86135f95 Author: Mark J. Washenberger <[email protected]> Date: Tue Nov 20 12:41:48 2012 -0800 Make cooperative reader always support read() glance.common.utils.CooperativeReader provides eventlet-friendly cooperation on top of backends that support either read() or __iter__(). However, in the case of backends that only support __iter__(), such as images returned by store.get(...), read() is not defined. This patch adds read() in all cases. Fixes bug 1057322. Change-Id: I67d9b3e4d93fbefd7eeaf7cfc947ab635fe09534 ** Changed in: glance Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1057322 Title: Image fails to upload to swift: TypeError: object of type 'CooperativeReader' has no len( To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1057322/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
