def setOptimize():
 conf.keepAlive = True
 conf.threads = (3 if (conf.threads < 3) else conf.threads)
 conf.nullConnection = (not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor)))
 if (not conf.nullConnection):
  debugMsg = "turning off switch '--null-connection' used indirectly by switch '-o'"
  logger.debug(debugMsg)

def setOptimize ( ) : conf . keepAlive = True conf . threads = ( 3 if ( conf . threads < 3 ) else conf . threads ) conf . nullConnection = ( not any ( ( conf . data , conf . textOnly , conf . titles , conf . string , conf . notString , conf . regexp , conf . tor ) ) ) if ( not conf . nullConnection ) : debugMsg = "turning off switch '--null-connection' used indirectly by switch '-o'" logger . debug ( debugMsg )
sets options turned on by switch -o .