Changeset 131 for ibidas.py


Ignore:
Timestamp:
Jul 8, 2009, 11:06:03 AM (11 years ago)
Author:
jjbot
Message:

Fixes for relative imports introduced in python 2.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ibidas.py

    r56 r131  
    88_ConfigDefault = {
    99    "database.name":                "ibidas_test",
    10     "database.user":                "marc",
    11     "database.password":            "testibidas",
     10    "database.user":                "bla",
     11    "database.password":            "bla",
    1212    "database.host":                "127.0.0.1",
    1313    "database.port":                "5432",
    1414}
    1515
    16 print _ConfigDefault
    1716
    1817config = config.loadConfig('ibidas.ini',_ConfigDefault)
    1918
    2019
     20print config
    2121cd = postgres.openConnection(config['database.host'],\
    2222            config['database.port'],config['database.name'],\
Note: See TracChangeset for help on using the changeset viewer.