Changeset 3358

Show
Ignore:
Timestamp:
09/06/07 11:37:26 (1 year ago)
Author:
johnf
Message:

I was not testing for a tuple. Stopped ClassDesigner? from displaying tables when the table did not have a PK.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/db/dbPostgreSQL.py

    r3330 r3358  
    103103        cursor.execute(sqlstr) 
    104104        rs2 = cursor.getDataSet() 
    105         if rs2 == []
     105        if rs2 == ()
    106106            thePKFieldName = None 
    107107        else: