medit/api/mpi/util.py

13 lines
260 B
Python
Raw Normal View History

2010-12-23 16:24:52 -08:00
import sys
2011-01-04 02:17:56 -08:00
__all__ = [ 'implement_me', 'oops', 'warning' ]
2010-12-23 16:24:52 -08:00
def implement_me(what):
print >> sys.stderr, 'implement me: %s' % what
def oops(message=None):
raise RuntimeError(message)
2011-01-04 02:17:56 -08:00
def warning(message):
print >>sys.stderr, "WARNING:", message