Ignore:
Timestamp:
Aug 3, 2008, 12:29:54 AM (16 years ago)
Author:
price
Message:

get db uri from invirt.config in sipb-database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/client/etc/xen/sipb-database

    r828 r829  
    11# -*- mode: python; -*-
    2 import sipb_xen_database.models as models
    3 from sipb_xen_database import connect
     2from invirt.database import models, connect
    43import re
    54import tempfile
    65from subprocess import call
    76
    8 connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen')
     7connect()
    98prefix = "d_"
    109
Note: See TracChangeset for help on using the changeset viewer.