2752: Avoid hiccup on arv-put with short stdin.
authorBrett Smith <brett@curoverse.com>
Tue, 27 May 2014 14:49:13 +0000 (10:49 -0400)
committerBrett Smith <brett@curoverse.com>
Fri, 30 May 2014 14:40:10 +0000 (10:40 -0400)
commit609b941f5f1787ea8380518551b63e259d36c657
treeee6ed1f00a951b07286772a67afe6adf8983d2e6
parentd603426ef3b87a1a84e71122cbf8330074d68fef
2752: Avoid hiccup on arv-put with short stdin.

Trying to call os.stat(os.path.realpath('/dev/stdin')) usually fails
in this case.  Since we're never going to be able to resume from stdin
anyway, don't bother with that check in this case.
sdk/python/arvados/collection.py
sdk/python/tests/test_arv-put.py