def epoch(t):
    if not hasattr(t, 'tzinfo'):
        return
    return int(time.mktime(_append_tz(t).timetuple()))
A version of shutil.copyfileobj that will not read more than 'size' bytes.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/utils.py/epoch--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/core/handlers/wsgi.py/safe_copyfileobj