Changeset 51


Ignore:
Timestamp:
06/20/13 15:05:44 (11 years ago)
Author:
tmorgan
Message:

script generation fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/bletchley-http2py

    r47 r51  
    9999        if ':' in value:
    100100            host,port = value.split(':',1)
     101            port = int(port, 10)
    101102            if port == 443:
    102103                use_ssl = True
     
    107108
    108109formatted_body = '\n            '.join([repr(body[i:i+40]) for i in range(0,len(body),40)])
    109 if formatted_body == b'':
     110if formatted_body == '':
    110111    formatted_body = "b''"
    111112
Note: See TracChangeset for help on using the changeset viewer.