Project

General

Profile

« Previous | Next » 

Revision 2167

sql.py: DbConn.run_query(): Check that query != None

View differences:

lib/sql.py
240 240
    def run_query(self, query, params=None, cacheable=False):
241 241
        '''Translates known DB errors to typed exceptions:
242 242
        See self.DbCursor.execute().'''
243
        assert query != None
244
        
243 245
        if not self.caching: cacheable = False
244 246
        used_cache = False
245 247
        try:

Also available in: Unified diff