def delay(iterator, wait = 1, every = 1):
    for i, photo in enumerate(iterator):
        if i > 0 and i % every == 0:
            time.sleep(wait)
        yield photo
Generate an XML representation of this model instance.
dataset/ETHPy150Open cvondrick/pyvision/vision/flickr.py/delay--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/Model.to_xml