Changeset 45

Show
Ignore:
Timestamp:
03/08/04 14:37:32 (5 years ago)
Author:
paul
Message:

I had the MySQL port wrong, and it must be an integer.
Also, took out a try block so that the exception
propagates.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/paulRefactor/db/backend.py

    r44 r45  
    3737        port = connectInfo.port 
    3838        if not port: 
    39             port = "3690" 
     39            port = 3306 
    4040              
    4141        return dbapi.connect(host=connectInfo.host,  
  • branches/paulRefactor/db/connectInfo.py

    r44 r45  
    2222 
    2323    def getConnection(self): 
    24         try: 
    25             return self._backendObject.getConnection(self) 
    26         except TypeError: 
    27             return None 
     24        return self._backendObject.getConnection(self) 
    2825 
    2926    def getDictCursor(self):