convert all % formatted strings under src/ to str.format format

Review Request #2042 - Created April 7, 2015 and submitted

Information
Nick Howard (Twitter)
pants
1378
a7ead6d...
Reviewers
pants-reviews
areitz, ity, jsirois, zundel

For the most part this is a straight forward conversion. The only tricky part is where %d was used on arguments that may be floats. Currently, python's float doesn't support the d format, so I had to change those locations so that the argument was coerced to an int before rendering.

Used the intellij python conversion hint + regex search replace to remove extra number / type info. After that, checked each conversion by hand.

ran ci.sh locally and CI passed: https://travis-ci.org/pantsbuild/pants/builds/57533316

Issues

  • 0
  • 6
  • 0
  • 6
Description From Last Updated
Nick Howard (Twitter)
Stu Hood
David Turner
David Turner
Nick Howard (Twitter)
Eric Ayers
John Sirois
Ity Kaul
John Sirois
Nick Howard (Twitter)
Review request changed

Status: Closed (submitted)

Change Summary:

merged at 9514990ef3d6e24aaa747e96ed4069cf4e43824a

Loading...