Use .partition() instead of .rstrip().
Use .partition() instead of .rstrip().

.partition() does what this code thought .rstrip()
did.  It takes a string argument and finds the first
occurrence of it.  It is slightly different in
expectation in that it returns a 3-tuple where the
first value is the expected result (rather than just
returning the expected result).

TBR=nsylvain@chromium.org


Review URL: http://codereview.chromium.org/8503031

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@109110 0039d316-1c4b-4281-b951-d872f2087c98

eunchong/build,eunchong/build,eunchong/build,eunchong/build