view commitwatcher/poller.py @ 32:630aaf102ce8

foo
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 13 Oct 2013 12:28:25 -0700
parents
children
line wrap: on
line source

"""
poller/daemon-like service to continuously check the repo
"""

import time

class CommitPoller(object):

    def __init__(self, fetcher, period=300):
        self.fetcher = fetcher
        self.period = period

    def poll(self):
        """poll"""
        

    def start(self):
        """poll forever"""
        while True:

    __call__ = start