Project

General

Profile

« Previous | Next » 

Revision 5443

sql.py: constraint_cond(): Fixed NotImplementedError message to apply to this function

View differences:

lib/sql.py
1103 1103
AND conname = '''+name_str.to_str(db)+'''
1104 1104
'''
1105 1105
            , cacheable=True, log_level=4))
1106
    else: raise NotImplementedError("Can't list index columns for "+module+
1107
        ' database')
1106
    else: raise NotImplementedError("Can't get constraint condition for "
1107
        +module+' database')
1108 1108

  
1109 1109
def index_cols(db, index):
1110 1110
    '''Can also use this for UNIQUE constraints, because a UNIQUE index is

Also available in: Unified diff