#64 closed defect (duplicate)
python 2.7.6 loses pipe output.
Reported by: | Steven Levine | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | *none | Version: | |
Severity: | Keywords: | python pipe | |
Cc: | steve53@… |
Description
cvs2svn v2.40 is a python app that can convert cvs repos to a number of formats.
While attempting to use cvs2svn to convert a cvs repo to git, I discovered our python port does not handle pipe output properly.
The visible symptom is that the git repo is structured correctly, but all the files are empty because the piped output of the cvs commands is lost.
cvs2svn is avaiable at
http://cvs2svn.tigris.org/files/documents/1462/49237/cvs2svn-2.4.0.tar.gz
A simple testcase (testcase.py) is attached to this ticket. The testcase requires a cvs2svn installation, but uses on one cvs2svn function which could be moved into the testcase.
The expected output is the data variable contains the command output. The current behavior is that the data variable remains empty.
Attachments (1)
Change History (4)
by , 10 years ago
Attachment: | testcase.py added |
---|
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:3 by , 10 years ago
Cc: | added |
---|
please take care that you add python related tickets to the right trac. As all python code is in rpm/yum trac.