Trimming of file path hides filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Virtualenv |
New
|
Undecided
|
Jannis Leidel |
Bug Description
At like 430 the filename is trimmed if it is more than 40 characters. The problem with this is it takes the first 30 chars and the last 5, so typically you miss out the more useful piece of information - the file name and get the location and the extension.
The code that does this is;
part = part[:30]
it could be simply changed to show more of the end and less or the start probably. I found this in version 1.3.3
It makes errors like this very hard to know what file it is talking about;
OSError: Command C:\PINAX-
naxproject.com C:\pinax-
*edit*
I have a fork on github with this change.http://
description: | updated |
Changed in virtualenv: | |
assignee: | nobody → Jannis Leidel (jezdez) |
Fixed in https:/ /github. com/pypa/ virtualenv/ commit/ 9a9d125d42318cf 922318d939b98b7 505496ca92
Not porting this to new issue tracker at github.