
The sandbox project currently has no way of receiving oreos. This change implements i_want_oreos.py which contains the receive_oreos function. Set patch_push to True or False and check the result. Change-Id: I6bc04ab8d1ef52c0377817e22218f23718c4fded Implements: blueprint i-want-oreos
13 lines
208 B
Python
13 lines
208 B
Python
def receive_oreos(patch_push):
|
|
if(patch_push) == True:
|
|
print "Yay, Oreos!"
|
|
return True
|
|
else:
|
|
print "No Oreos for you :("
|
|
return False
|
|
|
|
patch_push = True
|
|
receive_oreos(patch_push)
|
|
|
|
# Oreos please :D
|