Revision 691744c4 lib/http/client.py

b/lib/http/client.py
122 122
      status = int(status)
123 123
      if status < 100 or status > 999:
124 124
        status = -1
125
    except ValueError:
125
    except (TypeError, ValueError):
126 126
      status = -1
127 127

  
128 128
    if status == -1:

Also available in: Unified diff