~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/update-remote-product.py

  • Committer: Curtis Hovey
  • Date: 2011-08-12 14:39:51 UTC
  • mto: This revision was merged to the branch mainline in revision 13685.
  • Revision ID: curtis.hovey@canonical.com-20110812143951-74vfvrt37gtt4fz2
Sorted imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python -S
2
2
#
3
 
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
 
3
# Copyright 2009 Canonical Ltd.  This software is licensed under the
4
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5
5
 
6
6
"""Cron job to update Product.remote_product using bug watch information.
14
14
 
15
15
import time
16
16
 
17
 
from lp.bugs.scripts.updateremoteproduct import RemoteProductUpdater
18
 
from lp.services.config import config
 
17
from canonical.config import config
19
18
from lp.services.scripts.base import LaunchpadCronScript
 
19
from canonical.launchpad.scripts.updateremoteproduct import (
 
20
    RemoteProductUpdater)
20
21
 
21
22
 
22
23
class UpdateRemoteProduct(LaunchpadCronScript):