Fix ProgressListener % progress.

Review Request #3712 - Created April 17, 2016 and submitted

Information
John Sirois
pants
jsirois/fetcher/fix_percent_complete
3216
Reviewers
pants-reviews
gmalmquist, nhoward_tw
Previously int conversion was happening too early leading to a stuck 0%.

 src/python/pants/net/http/fetcher.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Manually ran ./pants clean-all test.node contrib/node/examples::
Several times until stopped by rate-limits (see:
https://rbcommons.com/s/twitter/r/3710/)

CI went green here:
https://travis-ci.org/pantsbuild/pants/builds/123784467

John Sirois
John Sirois
Yi Cheng
John Sirois
Review request changed

Status: Closed (submitted)

Change Summary:

Now on master:

git log -1 origin/master
commit 78b8875fd1ed66037cb659233e270761c400ec65
Author: John Sirois <john.sirois@gmail.com>
Date:   Mon Apr 18 09:43:29 2016 -0600

    Fix ProgressListener % progress.
    
    Previously int conversion was happening too early leading to a stuck 0%.
    
    Testing Done:
    Manually ran `./pants clean-all test.node contrib/node/examples::`
    Several times until stopped by rate-limits (see:
    https://rbcommons.com/s/twitter/r/3710/)
    
    CI went green here:
      https://travis-ci.org/pantsbuild/pants/builds/123784467
    
    Bugs closed: 3216
    
    Reviewed at https://rbcommons.com/s/twitter/r/3712/
Loading...