~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archivepublisher/scripts/generate_contents_files.py

  • Committer: Jeroen Vermeulen
  • Date: 2011-04-21 14:38:53 UTC
  • mto: (14046.1.1 bug-860245)
  • mto: This revision was merged to the branch mainline in revision 14057.
  • Revision ID: jeroen.vermeulen@canonical.com-20110421143853-1x60v7clsh2cls2r
It's a cron script, actually.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from lp.archivepublisher.config import getPubConfig
18
18
from lp.registry.interfaces.distribution import IDistributionSet
19
19
from lp.services.scripts.base import (
20
 
    LaunchpadScript,
 
20
    LaunchpadCronScript,
21
21
    LaunchpadScriptFailure,
22
22
    )
23
23
from lp.services.utils import file_exists
89
89
    os.rename(old_path, new_path)
90
90
 
91
91
 
92
 
class GenerateContentsFiles(LaunchpadScript):
 
92
class GenerateContentsFiles(LaunchpadCronScript):
93
93
 
94
94
    distribution = None
95
95