Changeset 6025

Show
Ignore:
Timestamp:
11/01/12 14:06:16 (7 years ago)
Author:
cmatthew
Message:

Don't confuse warning assertions wtih warning messages.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/branches/nacl_repy/seattlelib/net_connect.repy

    r5792 r6025  
    7474    assert length == len(addr), "Passed length must match buffer size" 
    7575 
    76     warning(family == 0, "Connect currently ignores family") 
     76    assert_warning(family == 0, "Connect currently ignores family") 
    7777 
    7878    assert 1 <= port <= 2 ** 16, "Port must be between 1, 65k"