~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/report-database-stats.py

  • Committer: Curtis Hovey
  • Date: 2011-12-18 15:13:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218151307-sdm2gzobt5tplbe0
Moved badges to lp.app.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
__metaclass__ = type
8
8
 
9
 
import _pythonpath
10
 
 
11
9
from datetime import datetime
12
10
from operator import attrgetter
13
11
from textwrap import (
15
13
    fill,
16
14
    )
17
15
 
 
16
import _pythonpath
 
17
 
 
18
from canonical.database.sqlbase import (
 
19
    connect,
 
20
    sqlvalues,
 
21
    )
 
22
from canonical.launchpad.scripts import db_options
18
23
from lp.scripts.helpers import LPOptionParser
19
24
from lp.services.database.namedrow import named_fetchall
20
 
from lp.services.database.sqlbase import (
21
 
    connect,
22
 
    sqlvalues,
23
 
    )
24
 
from lp.services.scripts import db_options
25
25
 
26
26
 
27
27
class Table: