(sql, db)
| 559 | |
| 560 | |
| 561 | def isValidSQL(sql, db): |
| 562 | conn = sqlite3.connect(db) |
| 563 | cursor = conn.cursor() |
| 564 | try: |
| 565 | cursor.execute(sql) |
| 566 | except: |
| 567 | return False |
| 568 | return True |
| 569 | |
| 570 | |
| 571 | def print_scores(scores, etype): |
nothing calls this directly
no outgoing calls
no test coverage detected