Skip to content

Instantly share code, notes, and snippets.

@sloria sloria/gist:5895686
Created Jun 30, 2013

Embed
What would you like to do?
class TaskSender:
def __init__(self, task, job obligation):
self.task = task
self.job = job
self.obligation = obligation
self.processed = []
self.copied = []
self.executed = []
def __call__(self):
self.prepare()
self.process()
self.execute()
...
@matematikaadit

This comment has been minimized.

Copy link

matematikaadit commented Feb 28, 2014

just small correction: put a comma after job

    def __init__(self, task, job, obligation):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.