Changeset 149


Ignore:
Timestamp:
Jul 28, 2009, 2:06:06 PM (10 years ago)
Author:
pvkouteren
Message:

Minor fixes to ibidas2.py and setup_db.py
Added test file patricktest.py

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ibidas2.py

    r130 r149  
    1 """ For Mac (in this case Patrick's Mac): define where the gnureadline module is located """
    2 import sys
    3 sys.path.insert( 1, '/Library/Python/2.5/site-packages/readline-2.5.1-py2.5-macosx-10.5-i386.egg')
    4 """ End of gnureadline troubles """
    51from IPython.Shell import IPShellEmbed
    62
     
    106
    117_ConfigDefault = {
    12     "database.name":                "ibidas",
     8    "database.name":                "ibidas_test_nieuw",
    139    "database.user":                "postgres",
    1410    "database.password":            "postgres",
  • setup_db.py

    r148 r149  
    4545
    4646if (db_already_exists is True):
    47     yn = ""
     47    try:
     48        yn = sys.argv[1]
     49    except:
     50        yn = ""
    4851    while(not (yn == "y" or yn == "n")):
    4952        yn = raw_input("The database you've specified in setup.ini already exist. By proceeding, you'll "\
Note: See TracChangeset for help on using the changeset viewer.