Changeset 3354

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

httpretrieve: Fix defaulting to port 80 for httpretrieve.

Files:
1 modified

Legend:

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

    r3352 r3354  
    107107  host = parsedurl['hostname'] 
    108108  path = parsedurl['path'] 
    109   port = parsedurl.get('port', 80) 
     109  port = parsedurl.get('port') 
     110  port = port or 80 
    110111 
    111112  if parsedurl['scheme'] != 'http':