Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supposed to use
sys.stdin
as the fileobj
when the filename is `'-…
…'`. Can guess that this is the case from the command line parameters: >>> failed test: /home/steven/programming/python/dev/packages/cfv/test/cfv -ZNVRMUI --unquote=no --fixpaths="" --strippaths=0 --showpaths=auto-relative --progress=no --announceurl=url --noprivate_torrent -t bsdmd5 -zz -T -f - {'stdin': '/tmp/tmpm65hbxli/test.C.bsdmd5.gz'} This indeed fixes another test (fixes 16 more in total). Not sure why there was a "lovely hack" used previously, but got rid of this hack now.
- Loading branch information