~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Steve Kowalik
  • Date: 2011-08-07 04:05:52 UTC
  • mto: This revision was merged to the branch mainline in revision 13626.
  • Revision ID: stevenk@ubuntu.com-20110807040552-mwnxo0flmhvl35e8
Correct the notification based on review comments, and remove request{,ed}
from the function names, switching to create{,d}.

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):