Changeset 6028

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

assert warning logic. renamed to not confuse with the warning log function.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/branches/nacl_repy/seattlelib/lind_server.mix

    r5809 r6028  
    4444 
    4545 
    46 def warning(logic, message): 
     46def warning(*msg): 
     47  if not SILENT: 
     48    for part in msg: 
     49      print part, 
     50    print 
     51 
     52 
     53 
     54def assert_warning(logic, message): 
    4755  """Like assert, but only warn""" 
    4856  if not logic: