~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/update-stats.py

  • Committer: William Grant
  • Date: 2012-01-01 03:14:54 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031454-xhdgl26b1yiqpar9
cronscripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
# This script updates the cached stats in the system
9
9
 
10
10
import _pythonpath
 
11
 
11
12
from zope.component import getUtility
12
13
 
13
 
from lp.services.config import config
14
 
from lp.services.statistics.interfaces.statistic import (
15
 
    ILaunchpadStatisticSet,
16
 
    )
17
14
from lp.registry.interfaces.distribution import IDistributionSet
18
15
from lp.registry.interfaces.person import IPersonSet
 
16
from lp.services.config import config
19
17
from lp.services.scripts.base import LaunchpadCronScript
 
18
from lp.services.statistics.interfaces.statistic import ILaunchpadStatisticSet
20
19
 
21
20
 
22
21
class StatUpdater(LaunchpadCronScript):