Created
January 7, 2015 20:49
-
-
Save the2hill/0a40cbe6963d8a1097a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class driverInterface() | |
def update(): | |
# do update things | |
def undo_update(): | |
# undo those things we just did | |
class driver(): | |
def update(): | |
# do update things like build configs and call API | |
def undo_update(): | |
# undo those things we just did | |
class controller(): | |
class task(taskflow): | |
def execute(): | |
driver.update() | |
def revert(): | |
driver.undo_update() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment