Added new Oreo functionality.

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
This commit is contained in:
gfrebello 2018-07-31 16:46:10 +00:00
parent 4529117045
commit 66cf9baa7a
1 changed files with 12 additions and 0 deletions

12
i_want_oreos.py Normal file
View File

@ -0,0 +1,12 @@
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