Lines Matching defs:DB
108 DB=None
177 global DB
186 DB = MySQLdb.connect(passwd=passwd, db=db)
187 if DB == None:
189 ret = checkTables(DB)
193 global DB
195 if DB == None:
197 if DB == None:
204 c = DB.cursor()
223 global DB
226 if DB == None:
228 if DB == None:
245 c = DB.cursor()
285 global DB
287 if DB == None:
289 if DB == None:
294 c = DB.cursor()
313 global DB
315 if DB == None:
317 if DB == None:
334 c = DB.cursor()
353 global DB
355 if DB == None:
357 if DB == None:
362 c = DB.cursor()
375 global DB
377 if DB == None:
379 if DB == None:
389 c = DB.cursor()
406 global DB
408 if DB == None:
410 if DB == None:
417 c = DB.cursor()
1120 # Main code: open the DB, the API XML and analyze it #