(file, db)
| 126 | exit(1) |
| 127 | |
| 128 | def outputDimensionsToFile(file, db): |
| 129 | |
| 130 | with db: |
| 131 | cur = db.cursor() |
| 132 | cur.execute("SELECT d.dim_id, e.value_name from DIMENSION d, ITEM_ATTR_ENUM e where d.attr_id = e.attr_id and d.value_id = e.value_id and e.value_name != \'article\'") |
| 133 | rows = cur.fetchall() |
| 134 | json.dump(rows, file) |
| 135 | |
| 136 | def readTypes(types): |
| 137 | for theType in types: |
no test coverage detected