Reviewed: https://review.openstack.org/16931 Committed: http://github.com/openstack/glance/commit/91aaa487d34ed57718f0183b27e79c02ac70941e Submitter: Jenkins Branch: stable/folsom
commit 91aaa487d34ed57718f0183b27e79c02ac70941e 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/folsom 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
