This commit is contained in:
Kovid Goyal 2011-09-09 11:32:32 -06:00
parent 39dd6039ab
commit 26ab5148fa

View File

@ -144,6 +144,7 @@ class UploadToGoogleCode(Command): # {{{
pw = re.search(r'(?s)remoteuser = .*@gmail.com.*?remotepass = (\S+)',
raw).group(1).strip()
br = mechanize.Browser()
br.set_handle_robots(False)
br.open('http://gmail.com')
br.select_form(nr=0)
br.form['Email'] = self.USERNAME