Did I find the right examples for you? yes no

All Samples(32)  |  Call(32)  |  Derive(0)  |  Import(0)
Throw away all logs.
    

        def discardLogs():
    """Throw away all logs.
    """
    global logfile
    logfile = NullFile()
        


src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/conch/scripts/tkconch.py   hortonworks-sandbox(Download)
                sys.stdout = realout
            else:
                log.discardLogs()
            log.deferr = handleError # HACK
            if not options.identitys:

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/conch/scripts/tkconch.py   oh-mainline(Download)
                sys.stdout = realout
            else:
                log.discardLogs()
            log.deferr = handleError # HACK
            if not options.identitys:

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/conch/scripts/cftp.py   hortonworks-sandbox(Download)
        sys.stdout = realout
    else:
        log.discardLogs()
    doConnect(options)
    reactor.run()

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/conch/scripts/cftp.py   oh-mainline(Download)
        sys.stdout = realout
    else:
        log.discardLogs()
    doConnect(options)
    reactor.run()

src/m/y/mythbox-HEAD/resources/lib/twisted/twisted/conch/scripts/tkconch.py   mythbox(Download)
                sys.stdout = realout
            else:
                log.discardLogs()
            log.deferr = handleError # HACK
            if not options.identitys:

src/z/o/zope.app.twisted-3.5.0/src/twisted/conch/scripts/tkconch.py   zope.app.twisted(Download)
                sys.stdout = realout
            else:
                log.discardLogs()
            log.deferr = handleError # HACK
            if not options.identitys:

src/t/w/Twisted-13.2.0/twisted/conch/scripts/tkconch.py   Twisted(Download)
                sys.stdout = realout
            else:
                log.discardLogs()
            log.deferr = handleError # HACK
            if not options.identitys:

src/m/y/mythbox-HEAD/resources/lib/twisted/twisted/conch/scripts/cftp.py   mythbox(Download)
        sys.stdout = realout
    else:
        log.discardLogs()
    doConnect(options)
    reactor.run()

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/conch/scripts/tkconch.py   SubliminalCollaborator(Download)
                sys.stdout = realout
            else:
                log.discardLogs()
            log.deferr = handleError # HACK
            if not options.identitys:

src/z/o/zope.app.twisted-3.5.0/src/twisted/conch/scripts/cftp.py   zope.app.twisted(Download)
        sys.stdout = realout
    else:
        log.discardLogs()
    doConnect(options)
    reactor.run()

  1 | 2 | 3 | 4  Next