medit/api/mpi/util.py
2011-01-04 02:17:56 -08:00

13 lines
260 B
Python

import sys
__all__ = [ 'implement_me', 'oops', 'warning' ]
def implement_me(what):
print >> sys.stderr, 'implement me: %s' % what
def oops(message=None):
raise RuntimeError(message)
def warning(message):
print >>sys.stderr, "WARNING:", message