(option)
| 1410 | |
| 1411 | # this routine will be used to check config options within the set.options |
| 1412 | def check_options(option): |
| 1413 | # open the directory |
| 1414 | trigger = 0 |
| 1415 | if os.path.isfile(userconfigpath + "set.options"): |
| 1416 | fileopen = open(userconfigpath + "set.options", "r").readlines() |
| 1417 | for line in fileopen: |
| 1418 | match = re.search(option, line) |
| 1419 | if match: |
| 1420 | line = line.rstrip() |
| 1421 | line = line.replace('"', "") |
| 1422 | line = line.split("=") |
| 1423 | return line[1] |
| 1424 | trigger = 1 |
| 1425 | |
| 1426 | if trigger == 0: |
| 1427 | return trigger |
| 1428 | |
| 1429 | # future home to update one localized set configuration file |
| 1430 |
no outgoing calls
no test coverage detected