class RepoThread(object): def __init__(self, *args): pass # XXX raise def start(self): pass def join(self): pass class LoopTask(RepoThread): def cancel(self): pass