~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/sort_sql.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:
26
26
 
27
27
__metaclass__ = type
28
28
 
29
 
# pylint: disable-msg=W0403
30
29
import _pythonpath
31
30
 
32
31
import sys
33
32
 
34
 
from canonical.database.sort_sql import Parser, print_lines_sorted
 
33
from lp.services.database.sort_sql import (
 
34
    Parser,
 
35
    print_lines_sorted,
 
36
    )
 
37
 
35
38
 
36
39
def main(argv):
37
40
    if len(argv) > 1: