Make getBranchForMilestone() explictly request the CSV data.
Make getBranchForMilestone() explictly request the CSV data.

This fixes the following crash:
Traceback (most recent call last):
  File "/usr/local/google/home/pliard/ssd/depot_tools/drover.py", line 682, in <module>
    sys.exit(main())
  File "/usr/local/google/home/pliard/ssd/depot_tools/drover.py", line 678, in main
    return drover(options, args)
  File "/usr/local/google/home/pliard/ssd/depot_tools/drover.py", line 493, in drover
    options.branch = getBranchForMilestone(options.milestone)
  File "/usr/local/google/home/pliard/ssd/depot_tools/drover.py", line 393, in getBranchForMilestone
    version = string.split(parameters[2], '.')
IndexError: list index out of range
Sending crash report ...
  args: ['/usr/local/google/home/pliard/ssd/depot_tools/drover.py', '--merge', '175139', '--milestone', '25']
  cwd: /mnt/ssd/pliard/chromium/src/drover
  exception: list index out of range
  host: vox.par.corp.google.com
  stack:   File "/usr/local/google/home/pliard/ssd/depot_to
  user: pliard
  version: 2.7.3 (default, Aug  1 2012, 05:14:39)
[GCC 4.6.3

This function is called when the --milestone switch is provided. It requests
omahaproxy to fetch the branch corresponding to the provided milestone.
This function expects some CSV data coming from omahaproxy although it appeared
to actually receive the same HTML data that a browser receives when requesting
http://omahaproxy.appspot.com (user agent issue?).


Review URL: https://chromiumcodereview.appspot.com/11801007

git-svn-id: fd409f4bdeea2bb50a5d34bb4d4bfc2046a5a3dd@175337 0039d316-1c4b-4281-b951-d872f2087c98

cybertk/depot_tools,coreos/depot_tools,fracting/depot_tools,withtone/depot_tools,Neozaru/depot_tools,kromain/chromium-tools,Phonebooth/depot_tools,coreos/depot_tools,mlufei/depot_tools,michalliu/chromium-depot_tools,G-P-S/depot_tools,chinmaygarde/depot_tools,aleonliao/depot_tools,cybertk/depot_tools,jankeromnes/depot_tools,HackFisher/depot_tools,CoherentLabs/depot_tools,withtone/depot_tools,smikes/depot_tools,kaiix/depot_tools,Neozaru/depot_tools,disigma/depot_tools,jankeromnes/depot_tools,ajohnson23/depot_tools,gcodetogit/depot_tools,michalliu/chromium-depot_tools,fanjunwei/depot_tools,coreos/depot_tools,cybertk/depot_tools,Chilledheart/depot_tools,xuyuhan/depot_tools,Midrya/chromium,SuYiling/chrome_depot_tools,jankeromnes/depot_tools,npe9/depot_tools,SuYiling/chrome_depot_tools,eatbyte/depot_tools,G-P-S/depot_tools,smikes/depot_tools,smikes/depot_tools,cybertk/depot_tools,kromain/chromium-tools,liaorubei/depot_tools,chinmaygarde/depot_tools,G-P-S/depot_tools,Chilledheart/depot_tools,npe9/depot_tools,eatbyte/depot_tools,xuyuhan/depot_tools,smikes/depot_tools,gcodetogit/depot_tools,liaorubei/depot_tools,hsharsha/depot_tools,Phonebooth/depot_tools,xuyuhan/depot_tools,yetu/repotools,HackFisher/depot_tools,npe9/depot_tools,kromain/chromium-tools,azureplus/chromium_depot_tools,michalliu/chromium-depot_tools,jankeromnes/depot_tools,azureplus/chromium_depot_tools,airtimemedia/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,duongbaoduy/gtools,duanwujie/depot_tools,Phonebooth/depot_tools,Neozaru/depot_tools,azunite/chrome_build,kromain/chromium-tools,primiano/depot_tools,eatbyte/depot_tools,duanwujie/depot_tools,airtimemedia/depot_tools,Chilledheart/depot_tools,fanjunwei/depot_tools,liaorubei/depot_tools,sarvex/depot-tools,smikes/depot_tools,G-P-S/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,chinmaygarde/depot_tools,Chilledheart/depot_tools,fracting/depot_tools,primiano/depot_tools,ajohnson23/depot_tools,kaiix/depot_tools,Neozaru/depot_tools,disigma/depot_tools,jankeromnes/depot_tools,duanwujie/depot_tools,gcodetogit/depot_tools,yetu/repotools,HackFisher/depot_tools,aleonliao/depot_tools,aleonliao/depot_tools,hsharsha/depot_tools,ajohnson23/depot_tools,airtimemedia/depot_tools,azureplus/chromium_depot_tools,disigma/depot_tools,CoherentLabs/depot_tools,mlufei/depot_tools,coreos/depot_tools,jankeromnes/depot_tools,jankeromnes/depot_tools,kaiix/depot_tools,coreos/depot_tools,azunite/chrome_build,duongbaoduy/gtools,coreos/depot_tools,primiano/depot_tools,cybertk/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,Phonebooth/depot_tools,withtone/depot_tools,hsharsha/depot_tools,fanjunwei/depot_tools,xuyuhan/depot_tools,Neozaru/depot_tools,liaorubei/depot_tools,npe9/depot_tools,duongbaoduy/gtools,yetu/repotools,airtimemedia/depot_tools,Midrya/chromium,eatbyte/depot_tools,azunite/chrome_build,sarvex/depot-tools,Midrya/chromium,fanjunwei/depot_tools,fracting/depot_tools,sarvex/depot-tools,HackFisher/depot_tools,SuYiling/chrome_depot_tools,Chilledheart/depot_tools,mlufei/depot_tools,sarvex/depot-tools,michalliu/chromium-depot_tools