Reviewed: https://review.openstack.org/8599 Committed: http://github.com/openstack/glance/commit/37c9a7e2a1ea9c0a1f4e9d5585a4ada465310898 Submitter: Jenkins Branch: stable/essex
commit 37c9a7e2a1ea9c0a1f4e9d5585a4ada465310898 Author: Derek Higgins <email address hidden> Date: Thu May 31 22:13:40 2012 +0100
fix side effects from seekability test on input file
Fixes Bug #1007093
Mixing use of os.lseek(fileno, 0, os.SEEK_SET) with file.seek seems to cause problems when reading data with file.read
Change-Id: Ia96ce9bbdc93a1a8c6169d85b99187f8cd7b2fdc
Reviewed: https:/ /review. openstack. org/8599 github. com/openstack/ glance/ commit/ 37c9a7e2a1ea9c0 a1f4e9d5585a4ad a465310898
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit 37c9a7e2a1ea9c0 a1f4e9d5585a4ad a465310898
Author: Derek Higgins <email address hidden>
Date: Thu May 31 22:13:40 2012 +0100
fix side effects from seekability test on input file
Fixes Bug #1007093
Mixing use of os.lseek(fileno, 0, os.SEEK_SET) with
file.seek seems to cause problems when reading data
with file.read
Change-Id: Ia96ce9bbdc93a1 a8c6169d85b9918 7f8cd7b2fdc