Skip to content
This repository
tree: 91636467c9
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (11 sloc) 0.469 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import commonware.log
import cronjobs

from .models import ApplicationsVersions

log = commonware.log.getLogger('z.cron')

@cronjobs.register
def update_compat_info_for_fx4():
    """This is a temporary job to update firefox compatibility from 4.0 to 4.0.*
on a daily basis. Once we fix the UI this can go away. See bug 624305.
@TODO"""

    log.info("Setting compatilibity from 4.0 to 4.0.*")
    ApplicationsVersions.objects.filter(max=364).update(max=363)
Something went wrong with that request. Please try again.