~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-09 09:23:38 UTC
  • mfrom: (14333.2.13 history-model)
  • Revision ID: launchpad@pqm.canonical.com-20111209092338-se7u5l0skqzaes1v
[r=jcsackett][bug=295214, 894836,
 898200] Keep sort button ob bug listing pages in sync with the
 displayed data

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: