~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to daemons/cache-database-replication-lag.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:
15
15
 
16
16
import psycopg2
17
17
 
 
18
from canonical.database.sqlbase import connect, ISOLATION_LEVEL_AUTOCOMMIT
 
19
from canonical.launchpad.scripts import db_options, logger
18
20
from lp.scripts.helpers import LPOptionParser
19
 
from lp.services.database.sqlbase import (
20
 
    connect,
21
 
    ISOLATION_LEVEL_AUTOCOMMIT,
22
 
    )
23
 
from lp.services.scripts import (
24
 
    db_options,
25
 
    logger,
26
 
    )
27
21
 
28
22
 
29
23
def main(args=None):