Summary: | app-portage/gentoolkit: Extra letter in eclean output | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Li <admin> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | dolsen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 237964 | ||
Attachments: | Patch |
Description
Richard Li
2009-11-26 08:06:09 UTC
Created attachment 211221 [details, diff]
Patch
It can be fixed by simply forcing the first argument to fpformat.fix to be of float type.
Ok, I tested this on my system and it worked for all 3 versions _rc9, dev trunk sources and the eclean re-write. Then I realized it was being passed a long integer. I did a little testing, was able to duplicate it passing a long to it. A little more investigation revealed that fpformat is deprecated in python-2.6 and removed in 3.0 so I converted to using string methods which handle long integers properly. Thank you for the bug report and patch. Even though I did not use it, it made it easier to fix. ...you should see this change in -0.3.0_rc10 brian@big_daddy ~/Dev/genscripts/branches/gentoolkit_eclean $ svn commit pym/gentoolkit/eclean/output.py Authentication realm: <https://genscripts.googlecode.com:443> Google Code Subversion Repository Password for 'brian.dolbec': Sending pym/gentoolkit/eclean/output.py Transmitting file data . Committed revision 268. This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue. |