~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/online_fti_updater.py

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224174930-xk1d5cvhyxq46ctf
Moved webapp to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# pylint: disable-msg=W0403
13
13
import _pythonpath
14
14
 
 
15
from fti import ALL_FTI
15
16
import psycopg
16
17
 
17
 
from fti import ALL_FTI
18
 
 
19
 
 
20
18
def main():
21
19
    con = psycopg.connect("dbname=launchpad_prod user=postgres")
22
20
    con.set_isolation_level(0) # autocommit