Changeset 720 for pykota/trunk/pykota/storages/postgresql.py
- Timestamp:
- 02/06/03 15:49:04 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/postgresql.py
r700 r720 15 15 # 16 16 # $Log$ 17 # Revision 1.3 2003/02/06 14:49:04 jalet 18 # edpykota should be ok now 19 # 17 20 # Revision 1.2 2003/02/05 22:28:38 jalet 18 21 # More robust storage … … 62 65 def doParseResult(self, result) : 63 66 """Returns the result as a list of Python mappings.""" 64 if result.ntuples() > 0:67 if (result is not None) and (result.ntuples() > 0) : 65 68 return result.dictresult() 66 69