~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/pending/fix-rosetta-data.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:
12
12
import sys
13
13
 
14
14
from canonical.lp import initZopeless
15
 
from canonical.database.sqlbase import cursor, sqlvalues
16
 
from lp.services.scripts import logger_options, logger
 
15
from lp.services.database.sqlbase import (
 
16
    cursor,
 
17
    sqlvalues,
 
18
    )
 
19
from lp.services.scripts import (
 
20
    logger,
 
21
    logger_options,
 
22
    )
 
23
 
17
24
 
18
25
mapping = {
19
26
    # u'\u2022': u' ',  # space represented as a dot.