Sets options turned on by switch '-o'
()
| 3549 | return any(isTechniqueAvailable(_) for _ in (PAYLOAD.TECHNIQUE.BOOLEAN, PAYLOAD.TECHNIQUE.STACKED, PAYLOAD.TECHNIQUE.TIME)) |
| 3550 | |
| 3551 | def setOptimize(): |
| 3552 | """ |
| 3553 | Sets options turned on by switch '-o' |
| 3554 | """ |
| 3555 | |
| 3556 | # conf.predictOutput = True |
| 3557 | conf.keepAlive = True |
| 3558 | conf.threads = 3 if conf.threads < 3 and cmdLineOptions.threads is None else conf.threads |
| 3559 | conf.nullConnection = not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor)) |
| 3560 | |
| 3561 | if not conf.nullConnection: |
| 3562 | debugMsg = "turning off switch '--null-connection' used indirectly by switch '-o'" |
| 3563 | logger.debug(debugMsg) |
| 3564 | |
| 3565 | def saveConfig(conf, filename): |
| 3566 | """ |
no test coverage detected
searching dependent graphs…