~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/foaf-update-karma-cache.py

  • Committer: William Grant
  • Date: 2011-12-30 06:47:17 UTC
  • mto: This revision was merged to the branch mainline in revision 14610.
  • Revision ID: william.grant@canonical.com-20111230064717-n5re5t6we5w8o17z
Replace canonical.database usage everywhere, and format-imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# pylint: disable-msg=C0103,W0403
7
7
 
8
8
import _pythonpath
 
9
 
9
10
from zope.component import getUtility
10
11
 
 
12
from lp.app.errors import NotFoundError
 
13
from lp.registry.interfaces.karma import IKarmaCacheManager
11
14
from lp.services.config import config
12
 
from canonical.database.sqlbase import (
 
15
from lp.services.database.sqlbase import (
13
16
    cursor,
14
17
    flush_database_updates,
15
18
    )
16
 
from lp.app.errors import NotFoundError
17
 
from lp.registry.interfaces.karma import IKarmaCacheManager
18
19
from lp.services.scripts.base import LaunchpadCronScript
19
20
 
20
21