Reviewed: https://review.openstack.org/2566 Committed: http://github.com/openstack/glance/commit/1571cd8f83cb80f2c89bd226883d7f802119bfb2 Submitter: Jenkins Branch: master
commit 1571cd8f83cb80f2c89bd226883d7f802119bfb2 Author: Brian Lamar <email address hidden> Date: Thu Dec 22 14:22:48 2011 -0500
Removed bin/glance's TTY detection.
Fixes bug 907906
The logic is sound: if location=XXX is specified, use that. If it's not specified, use sys.stdin to read image data. No need to error when location=XXX is specified and stdin just happens to be a TTY.
Change-Id: I057312becad59b3dd7a71f94d25ebd032e1a7b52
Reviewed: https:/ /review. openstack. org/2566 github. com/openstack/ glance/ commit/ 1571cd8f83cb80f 2c89bd226883d7f 802119bfb2
Committed: http://
Submitter: Jenkins
Branch: master
commit 1571cd8f83cb80f 2c89bd226883d7f 802119bfb2
Author: Brian Lamar <email address hidden>
Date: Thu Dec 22 14:22:48 2011 -0500
Removed bin/glance's TTY detection.
Fixes bug 907906
The logic is sound: if location=XXX is specified, use that.
If it's not specified, use sys.stdin to read image data. No need to
error when location=XXX is specified and stdin just happens to be a TTY.
Change-Id: I057312becad59b 3dd7a71f94d25eb d032e1a7b52