Project

General

Profile

« Previous | Next » 

Revision 2655

sql_gen.py: ColDict: Fixed bug where copy() needed to be implemented

View differences:

lib/sql_gen.py
187 187
        self.dict = {}
188 188
        self.update(dict_) # after setting vars because __setitem__() needs them
189 189
    
190
    def copy(self): return ColDict(self.db, self.table, self.dict.copy())
191
    
190 192
    def keys(self): return self.dict.keys()
191 193
    
192 194
    def __getitem__(self, key):

Also available in: Unified diff