Changeset 3352

Show
Ignore:
Timestamp:
01/11/10 14:14:27 (10 years ago)
Author:
cemeyer
Message:

httpretrieve: Fix argument passing order.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/seattlelib/httpretrieve.repy

    r3351 r3352  
    251251  newfile = open(filename, 'w') 
    252252 
    253   http_obj = httpretrieve_open(url, querydata, postdata, httpheaders, \ 
    254       timeout) 
     253  http_obj = httpretrieve_open(url, querydata=querydata, postdata=postdata, \ 
     254      httpheaders=httpheaders, timeout=timeout) 
    255255 
    256256  # Read from the file-like HTTP object into our file. 
     
    288288  """ 
    289289 
    290   http_obj = httpretrieve_open(url, querydata, postdata, httpheaders, \ 
    291       timeout) 
     290  http_obj = httpretrieve_open(url, querydata=querydata, postdata=postdata, \ 
     291      httpheaders=httpheaders, timeout=timeout) 
    292292  httpcontent = http_obj.read() 
    293293  http_obj.close()