~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to daemons/cache-database-replication-lag.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

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 lp.services.scripts import db_options, logger
20
18
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
    )
21
27
 
22
28
 
23
29
def main(args=None):