2017-09-15 06:24:41 +00:00
|
|
|
"""
|
|
|
|
I am a plain old module with no interesting dependencies or import machinery
|
|
|
|
fiddlery.
|
|
|
|
"""
|
|
|
|
|
|
|
|
import math
|
|
|
|
|
|
|
|
|
2018-06-26 01:17:50 +00:00
|
|
|
class MyError(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2017-09-17 15:39:03 +00:00
|
|
|
def get_sentinel_value():
|
|
|
|
# Some proof we're even talking to the mitogen-test Docker image
|
2018-06-26 07:25:40 +00:00
|
|
|
return open('/etc/sentinel').read().decode()
|
2017-09-17 15:39:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
def add(x, y):
|
|
|
|
return x + y
|
|
|
|
|
|
|
|
|
2017-09-15 06:24:41 +00:00
|
|
|
def pow(x, y):
|
|
|
|
return x ** y
|